Subj : Re: Challenge: Multithreading & Synchronization To : comp.programming.threads From : Uenal Mutlu Date : Wed May 18 2005 06:39 pm "Sergei Organov" wrote > "Uenal Mutlu" writes: > > "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. > > Well, you didn't answer. What is the aim? Why should I bother to fix > your broken "real-world" design? What is the aim? I.e., why should I or > anybody else be interested in fixing it? To teach you programming? If you feel it needs to be fixed then just say what part you think should be fixed. What's unclear to you? The aim is to collect multiple solutions to the problem. .