Yes `jthread` stop tokens are essentially co-operative so you'd probably have 
to combine that with use of `PQcancelCreate` to hold a cancellation object from 
each connection that you could call `PQcancelBlocking` on at the same time you 
requested the thread to stop.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/issues/2265#issuecomment-2539505528
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/issues/2265/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving

Reply via email to