[PEAK] Anybody using reactors?

alexander smishlajev alex at ank-sia.com
Wed Jan 14 11:07:34 EST 2004


Phillip J. Eby wrote, at 14.01.2004 16:08:

>> we do, but we have frozen PEAK updates at december the 1st.
>>
>> when we decide to upgrade, we well need to clean up a lot of obsolete 
>> things anyway,
> 
> Hm.  I don't think I've actually deprecated very much since Dec. 1, and 
> I don't see much being deprecated before the a3 final release.

still, we have had some incompatibilites with PEAK upgrades, and when 
our application kernel became stable enough, we decided to freeze all 
external dependencies, including PEAK.

> One side benefit of the changes that will be made in a3 is that the 
> MainLoop will automatically exit if there is nothing scheduled to run 
> (unless you're using a Twisted reactor).  I believe that something 
> similar to that was a request of yours (or maybe it was Radek; I don't 
> recall).

yes, that's what we needed.  we made our own reactor (heir of 
UntwistedReactor) with the following additions:

* exit MainLoop when there are no readers, writers or laters,

* additional readers for TCP exceptions (third list in select() 
parameters), to receive out-of-band data.

* ability to remove sheduled procedures from the laters list

best wishes,
alex.






More information about the PEAK mailing list