Subj : Re: Boost.Threads on its way to C++0x To : comp.programming.threads From : Torsten Robitzki Date : Thu Apr 28 2005 07:03 pm gottlobfrege@gmail.com wrote: > Torsten Robitzki wrote: > >>gottlobfrege@gmail.com wrote: >>function without ensuring that the first thread finished the call to >>InitCriticalSection(). So the call to EnterCriticalSection() can > > operate > >>on an unitialized cs. >> >>regards >>Torsten > > > I don't see that. The first thread (sees started as 0 and) sets > *started* to true, and goes into the init code. > Sorry, my fault! I read the "else" at the wrong place. regards Torsten .