Subj : Re: Challenge: Multithreading & Synchronization To : comp.programming.threads From : Sergei Organov Date : Thu May 19 2005 02:25 pm "Uenal Mutlu" <520001085531-0001@t-online.de> writes: > "Sergei Organov" wrote > > "Uenal Mutlu" writes: > > > I don't feel so. I would say it is a well-designed classic > > > real-world example for shared access to a class from multiple > > > threads. > > > > Sorry, I give up. At least in C++ you don't have classes in the running > > program, so they can't be accessed even from single thread. > > What? There is a global instance of Server called gServer... gServer is an object, not a class. The fact that you have the only gServer in your application doesn't make it a class. Well, let's stop this OT, please. > > > > How would you have designed or formulated it? > > > > Sorry, what "it"? > > Of course the problem description. Only you know the problem, and I can't read your mind, sorry. And if and when you are capable to indeed formulate the problem, the solution will most likely be already obvious to you. -- Sergei. .