moya-lang / Allocator

Ultra fast C++11 allocator for STL containers.
BSD 2-Clause "Simplified" License
270 stars 25 forks source link

Q regarding thread safety #18

Closed oviano closed 2 years ago

oviano commented 2 years ago

It says in the README that the allocator is threadsafe but I cannot see how this could be the case.

I am looking for something I can use with MS concurrent_unordered_map.

moya-mmoczala commented 2 years ago

The library is thread safe. You can use it in multithreaded application without any risk. The concurrent_unordered_map is not on the list of supported containers.