[PEAK] issues with Trellis event loops and threads

Sergey Schetinin maluke at gmail.com
Wed Jul 23 12:29:58 EDT 2008


Thanks for your help, I really appreciate it.

>> Also, I think I found a bug with the basic EventLoop implementation --
>> the main loop never exits if there were any events scheduled,
>
> That is correct and intended behavior.  You are meant to explicitly
> terminate event loops; it's an extra feature of the basic EventLoop that it
> automatically exits when nothing is queued or scheduled.

That's unexpected. Given that EventLoops are not supposed to be used
in multithreaded context an infinite loop doing nothing looked odd.



More information about the PEAK mailing list