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

Sarah Hoffmann notifications at github.com
Thu Nov 12 12:31:21 UTC 2015


Reading through the article you provided, wouldn't an even better fix be to run `_configthreadlocale(_ENABLE_PER_THREAD_LOCALE)` when starting each worker thread on Windows? That should stop setlocale from interfering between threads.

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


More information about the Tile-serving mailing list