Closed symisc closed 3 years ago
Yes, this should work. All const
operations are threadsafe can be called in parallel, but no concurrent non-const method must be called.
so to resume: table.find()
is thread safe while table['elem'] = 'val'
is not?
yes. Note that Iterators and refereces will be invalidated when you modify the table.
Hi,
Does robin-hood works fine with multiple, concurrent readers threads and a single writer thread, all synchronized by
std::shared_lock
mutex?