[Tile-serving] [openstreetmap/osm2pgsql] Open thread pool earlier and make it a member of middle_t and output_t (#1508)

Jochen Topf notifications at github.com
Wed May 19 13:18:11 UTC 2021


This way we can access it from everywhere from the start on. This is not
used yet, but can be used to run processing asynchronously before we are
getting to the stop() phase.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Open thread pool earlier and make it a member of middle_t and output_t

-- File Changes --

    M src/dependency-manager.hpp (2)
    M src/middle-pgsql.cpp (11)
    M src/middle-pgsql.hpp (4)
    M src/middle-ram.cpp (5)
    M src/middle-ram.hpp (4)
    M src/middle.cpp (7)
    M src/middle.hpp (18)
    M src/osm2pgsql.cpp (10)
    M src/osmdata.cpp (14)
    M src/osmdata.hpp (3)
    M src/output-flex.cpp (22)
    M src/output-flex.hpp (5)
    M src/output-gazetteer.hpp (10)
    M src/output-null.cpp (5)
    M src/output-null.hpp (4)
    M src/output-pgsql.cpp (14)
    M src/output-pgsql.hpp (4)
    M src/output.cpp (17)
    M src/output.hpp (12)
    M tests/common-import.hpp (18)
    M tests/test-middle.cpp (96)
    M tests/test-parse-osmium.cpp (6)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1508
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210519/1822f6a6/attachment.htm>


More information about the Tile-serving mailing list