Subj : Re: Thoughts about threads in C++ To : comp.programming.threads From : Jomu Date : Mon May 02 2005 01:36 am Maciej Sobczak wrote: .... > > This is so improvisation and too-much-information and > > what-is-this-for that it hurts my eyes - really. > > So welcome to C++. :) > > VAR i : INTEGER; > VAR m : MUTEX; > > PROCEDURE p; > BEGIN > LOCK m DO > i := 7; > END; > END; > > This is so [...] that it hurst my eyes - really. ;) 1st, you don't know how to write it, so don't bother :). 2nd, it's not more information than needed, no extra "local" object, is structured, and there is a point. > > But let's not flame about different languages. My point is to have > something that is already known and recognizable to the C++ community. Then use something recognizable to threading community, and it's certainly "procedure is a body". This thread had outlived it's usefulness too long ago. It's good these news readers have those filters or people would be falling dead until now :). Good luck with your project. dd .