Re: spurious wakeup

From: Markus Elfring (Markus.Elfring_at_web.de)
Date: 11/30/04


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.

Regards,
Markus



Relevant Pages

  • Re: spurious wakeup
    ... Markus.Elfring@web.de (Markus Elfring) writes: ... In languages with function closures - yes. ... > of a library API? ...
    (comp.lang.cpp)
  • Re: spurious wakeup
    ... > In languages with function closures - yes. ... Would you like to adjust your view if you consider the following articles? ...
    (comp.lang.cpp)