Yes it is thread-safe: you can create a single OSRM object and hammer it with parallel requests. Its interface is const
https://github.com/Project-OSRM/osrm-backend/blob/99b02cedfbfc6fb24f6b07dedd6df37e885690a9/include/osrm/osrm.hpp#L48-L131 Adding OpenStreetMap NodeIDs to the route is possible by using the Nodes Annotations type in the RouteParameters https://github.com/Project-OSRM/osrm-backend/blob/99b02cedfbfc6fb24f6b07dedd6df37e885690a9/include/engine/api/route_parameters.hpp#L70-L80 Cheers, Daniel J H On Tue, Jun 20, 2017 at 11:42 PM, <[email protected]> wrote: > Hi > > I add osm nodes to route result. > and I try to customize turn guide with osm nodes. > > So, If I service routing server, > Is libosrm api thread safe ? > > > Sincerely, > HeeSu Shin > > > _______________________________________________ > OSRM-talk mailing list > [email protected] > https://lists.openstreetmap.org/listinfo/osrm-talk > >
_______________________________________________ OSRM-talk mailing list [email protected] https://lists.openstreetmap.org/listinfo/osrm-talk
