Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

How to use Concurrent Hashmap in my code

Arvind_D_
Beginner
62 Views

Hi

I have a concurrent hashmap defined like this- This is straight from an example in TBB code.

typedef concurrent_hash_map<MyString,int> StringTable;

Now, how do I do the following with it-

(1) Add data to it

(2) Delete data from it

(3) Find a data in it

(4) Update a key pair value

(5) Modify a key pair value ie data

The example uses the hashmap in a for loop where the above are not implemented.

Yours sincerely,

Arvind.

0 Kudos
0 Replies
Reply