Async serial communication/threads sharing data

John Nagle nagle at animats.com
Thu Mar 26 06:23:25 CET 2009


Jean-Paul Calderone wrote:
> On Tue, 24 Mar 2009 22:20:49 -0700, John Nagle <nagle at animats.com> wrote:
>> Jean-Paul Calderone wrote:
>>> On Mon, 23 Mar 2009 05:30:04 -0500, Nick Craig-Wood 
>>> <nick at craig-wood.com> wrote:
>>>> Jean-Paul Calderone <exarkun at divmod.com> wrote:
>>>> [snip]
>>    After bringing in all the heavy machinery of Twisted,
>> you're still polling at 10Hz.  That's disappointing.
>>
> 
> Hmm, no?  There's no polling in the latest version of the code I saw.
> 
> Jean-Paul

	if too_full:
            reactor.callLater(0.1, self.throttle)

				John Nagle



More information about the Python-list mailing list