Re: spurious wakeup
From: Markus Elfring (Markus.Elfring_at_web.de)
Date: 30 Nov 2004 08:27:02 -0800
> > Are you interested to encapsulate the predicate handling into a class?
> In languages with function closures - yes.
> In languages without - no.
Would you like to show an example for such a "closure"?
Can it be emulated in C++?
I hope that the ZThread's wait method will not remain the only
implementation free of spurious wakeups.