Make thread-locked access to stxxl containers
From stxxl FAQ: "you should not share a data structure between threads (without implementing proper locking yourself)." The access to name_char_data can be implicitly parallelized if _GLIBCXX_PARALLEL is defined and invalidate local-thread iterators.
This commit is contained in:
committed by
Daniel J. Hofmann
parent
19eec48207
commit
7753845f5c
@@ -113,7 +113,7 @@ struct InternalExtractorEdge
|
||||
{
|
||||
return InternalExtractorEdge(MAX_OSM_NODEID,
|
||||
MAX_OSM_NODEID,
|
||||
0,
|
||||
SPECIAL_NODEID,
|
||||
WeightData(),
|
||||
false,
|
||||
false,
|
||||
|
||||
Reference in New Issue
Block a user