[OSRM-talk] Multi-threaded calls to the C++ library interface

Richard Marsden winwaed at gmail.com
Thu Jan 21 04:23:38 UTC 2016


Is it possible to have multi-threaded (i.e. multiple simultaneous)
calls using the C++ library interface?

E.g. with one "OSRM" object shared between the threads; or with
multiple OSRM objects, one per thread?

Presumably the latter case would be memory hungry, but enabling
shared_memory in the libosrm_config would help...?

The scenario I'm looking at would use the same road/graph files.



Richard Marsden



More information about the OSRM-talk mailing list