[Tile-serving] [osm2pgsql-dev/osm2pgsql] Handle erros in threads correctly (PR #2184)

Jochen Topf notifications at github.com
Tue May 14 11:46:40 UTC 2024


Generalization processing can run in multiple threads. If a thread throws an error that error was not caught correctly. The new code catches the error and reports it and sets a flag that the main thread knows an error happened, so it can terminate the program correctly.
You can view, comment on, or merge this pull request online at:

  https://github.com/osm2pgsql-dev/osm2pgsql/pull/2184

-- Commit Summary --

  * Handle erros in threads correctly

-- File Changes --

    M src/gen/osm2pgsql-gen.cpp (68)

-- Patch Links --

https://github.com/osm2pgsql-dev/osm2pgsql/pull/2184.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2184.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2184
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2184 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240514/992bae6f/attachment.htm>


More information about the Tile-serving mailing list