The two options are available.
What is the difference in respect of "cost" "speed" and "complexity" for the two method?
When we need more than few mutexs like that, say 100, is the answer different?
Hi amiry,
I think you have gotten answered by Joseph. If it is correct, please click "Correct Answer" for the Joseph's answer and close this post.
Best regards,Yasuhiko Koumoto.