[chuck-users] Chuck Concurrency Best Practices

Tom Lieber lieber at princeton.edu
Sat Aug 30 13:02:28 EDT 2008


On Sat, Aug 30, 2008 at 11:04 AM, Stefan Blixt <stefan.blixt at gmail.com> wrote:
> This solution could be written more prettily if there was some way to wait
> on several events, or some more general condition, like so:
> (sporkableQueue not empty) => now;
> I run into this every now and then.

It seems like the queue is a little too generic. You could make a
queue which raises the event when items are added.

Being able to waiting on multiple events is nice, though I haven't
ChucKed enough to want it yet.

-- 
Tom Lieber
http://AllTom.com/


More information about the chuck-users mailing list