So The operations count, find, insert, and erase are the only operations that may be concurrently invoked on the same concurrent_hash_map
so how to update a value in it? (alike transaction which would include find+(insert||update||erase+insert)). I would use unordered map yet it does not provide concurrent erase.
So I wonder how to insert or update a key value pair in tbb::concurrent_hash_map?
Aucun commentaire:
Enregistrer un commentaire