Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Riyad_Parvez
Beginner
328 Views

What is the difference between concurrent_hash_map and concurrent_unordered_map?

What is the difference between concurrent_hash_map and concurrent_unordered_map?

0 Kudos
1 Reply
MLema2
New Contributor I
328 Views

According to documentation:

> The key differences between classes concurrent_unordered_map andconcurrent_hash_map are:

  • concurrent_unordered_map: permits concurrent traversal and insertion, no visible locking, closely resembles the C++11 unordered_map.

  • concurrent_hash_map permits concurrent erasure, built-in locking

Reply