Subj : Re: thread control by mutex, predicates and conditions puzzle To : comp.programming.threads From : roland Date : Sat Jan 08 2005 12:24 pm David Schwartz wrote: > Why not just avoid blocking on I/O? Ok, I see I have mixed things here. Bad example from me. As you can see from my OP I am actually blocking on a wait to a condvar. My question can be rephrased as: When I am waiting on a particular condvar, how can I portably wake up the thread to notify it from some global state change? I am almost sure that wait will not EINTR on windows platform, so I think this is not a portable solution. Roland .