Lawrence D'Oliveiro wrote:
> In article <[EMAIL PROTECTED]>,
>  Paul Sijben <[EMAIL PROTECTED]> wrote:
> 
>> I found that the problem was caused by the sending thread not giving
>> control back quickly enough to the receiving thread.
>>
>> Also in going through the code I found an old self.s.setblocking(0)call
>> that was no longer relevant. Removing that solved my problem.
>>
>> Something that took 20 seconds now takes just 1.
> 
> You might also find that it goes still faster if you forego threading 
> and use a select.select loop.

thanks for that. I will have to try it.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to