From here: stack overflow
If you want to block several objects protected by a mutex from a set of such objects , where sets could be created by merging , you can
select exactly one mutex for use on one object, allowing more threads to work in parallel,
or use for each object one link to any, possibly, common recursive mutex, to reduce the likelihood of not locking all mutexes together,
or use for each object one comparable link to any possible common non-recursive mutex, bypassing the intention to block several times.
I just don't understand the whole quote above. What is he talking about? Please explain in layman's words.
multithreading pthreads mutex
Aquarius_Girl May 11 '12 at 8:50 2012-05-11 08:50
source share