c++11 - C++ 11 equivalent of java.util.ConcurrentHashMap -


i find myself writing mutex code in order synchronize read/write access std::unordered_map , other containers can use them java.util.concurrent containers. start writing wrapper encapsulate mutex, rather use tested library don't stuff threading.

is there such library?

intel produced library called threading building blocks has 2 such things: concurrent_hash_map , concurrent_unordered_map. have different characteristics, 1 or other suit needs.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -