Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
2421 Discussions

What is the difference between concurrent_hash_map and concurrent_unordered_map?

Riyad_Parvez
Beginner
754 Views

What is the difference between concurrent_hash_map and concurrent_unordered_map?

0 Kudos
1 Reply
MLema2
New Contributor I
754 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