[plt-scheme] value-based event?

From: Noel Welsh (noelwelsh at gmail.com)
Date: Thu Jan 21 05:44:43 EST 2010

You could just use a channel for this (or a semaphore, I suppose).
When there is a value in the channel it will unblock.


On Thu, Jan 21, 2010 at 9:12 AM, YC <yinso.chen at gmail.com> wrote:
> Hi all -
> is it possible to create an event based on whether a variable has value - if
> it is #f, then the event blocks, and when the event gets set to something
> else other than #f, the event unblocks?
> yc

Posted on the users mailing list.