Re: issues with Trellis event loops and threads

"Sergey Schetinin" <[email protected]>
Newsgroups gmane.comp.python.peak
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.