Subj : Re: Challenge: Multithreading & Synchronization To : comp.programming.threads From : Uenal Mutlu Date : Wed May 18 2005 05:56 pm "Sergei Organov" wrote > "Uenal Mutlu" writes: > > > /* > > Here's a real-world synchronization challenge for accessing shared data > > from multiple threads (some call this "thread synchonization"): > > What is the aim of posting the challenge? If it's to illustrate how much > easier it is to implement inherently broken design using recursive > locks, then your challenge is indeed an excellent example. It is a real-world example, ie. the requirement is there. Just find a solution. You are encouraged to solve it by the best method you know. If you want to use non-recursive mutex then do so. You can also use a mixture, or any other sychronization object. .