Subj : Re: win32 threads broken (was Win32 condition variables redux) To : comp.programming.threads From : d|dq Date : Wed Aug 03 2005 09:56 pm Joe, Do you still like/use the implementation you posted in 2003? http://groups-beta.google.com/group/comp.programming.threads/browse_thread/thread/dec4902c7f6cd24a/31803c3398658e06?q=%2BCondVar.h&rnum=1&hl=en#31803c3398658e06 I am starting to understand it better, even though it's not a simple thing...it is still simpler than what exists in pthreads-w32. Not that I have anything against the pthreads-w32 implementation, but I am not smart enough to understand it. How much more would I have to reduce the Win32 CV redux requirements to reach an implementation that leaves no doubt to the reader? How about these? - Thread cancellation is not supported. - The external mutex is held by any thread executing a wait, timed wait, signal or broascast operation. - Spurious wakeups are OK. - Never more than 8 threads. - Never more than 4 CPUs. - The solution does not need to support versions of Windows prior to Windows 2000. - The solution is based on the Windows API without making any assumption beyond its documentation. - The solution does not make assumptions about the underlying hardware. Come one, come on, do we have a deal? ;) .