[Tile-serving] [osm2pgsql] Replace pthread and boost::thread with std::async (#498)

Sarah Hoffmann notifications at github.com
Sun Nov 8 11:17:16 UTC 2015


Fixes #466 and #464.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/498

-- Commit Summary --

  * output-pgsql: use std::async for parallel indexing
  * middle-pgsql: use std::async for parallel indexing
  * remove all traces of pthread in makefiles
  * osmdata: replace boost::thread with std::async
  * boost thread dependency no longer needed
  * enable multi-threading for all architectures

-- File Changes --

    M CMakeLists.txt (3)
    M cmake/config.h.in (5)
    M middle-pgsql.cpp (57)
    M middle-pgsql.hpp (3)
    M options.cpp (9)
    M osmdata.cpp (78)
    M output-pgsql.cpp (96)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/498.patch
https://github.com/openstreetmap/osm2pgsql/pull/498.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/498
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151108/1ea37057/attachment.html>


More information about the Tile-serving mailing list