j
k
j a
j l
Even if currently shared_mutex and upgrade_mutex implementation is the same you should use upgrade_mutex. Otherwise the code seems correct.
Ok, I see.
You have shared access in [1] and [2] and unique access in [2].
You mean [1] and [3]. Thanks!
Back to the thread
Back to the list