Re: spurious wakeup

From: Marcin 'Qrczak' Kowalczyk (qrczak_at_knm.org.pl)
Date: 11/29/04


Date: Mon, 29 Nov 2004 17:24:28 +0100

Markus.Elfring@web.de (Markus Elfring) writes:

> Are you interested to encapsulate the predicate handling into a class?

In languages with function closures - yes.
In languages without - no.

> Can a "convenient" wait method (without spurious wakeups) become part
> of a library API?

Depends on the above.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak@knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/


Relevant Pages

  • Re: spurious wakeup
    ... >> Are you interested to encapsulate the predicate handling into a class? ... > In languages with function closures - yes. ...
    (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)