Manzil Zaheer

Results 2 comments of Manzil Zaheer

Thanks for pointing this out. I had in mind that the topic array is atomic, i.e. `std::atomic * n_k;`. But it seems I commented out that one and kept the...

shared_mutex::lock() provides exclusive ownership to the mutex whereas shared_mutex::lock_shared() provides a shared ownership. Such constructs are useful for example when you want to have a write and read lock, i.e....