Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

Concurrent set in TBB?

Riyad_Parvez
Beginner
1,351 Views

Is there a concurrent_set in TBB which is equivalent to std::set http://www.cplusplus.com/reference/set/set/? I need concurrent write to the set also concurrent read? std::set supports concurrent read but not concurrent write? So is there a concurrent set in C++?

0 Kudos
3 Replies
MLema2
New Contributor I
1,351 Views

concurrent_unordered_set ?

0 Kudos
Riyad_Parvez
Beginner
1,351 Views

Does it support concurrent random access iterator?

0 Kudos
MLema2
New Contributor I
1,351 Views

To my knowledge, no set implementation has random_access_iterator_tag but uses bidirectional specification instead.

0 Kudos
Reply