[Stackless] stackless inter-thread queues

Paul Sijben sijben at eemvalley.com
Mon Mar 16 15:16:06 CET 2009



Paul Sijben wrote:
> I just found that one out.

to be exact:

StopIteration('the main tasklet is receiving without a sender available.',)

>
> Initially I had simply caught it, I now uncommented that out and now
> commented that except out and found it does not like to be the only
> tasklet AND waiting on a channel. But since it is running in the
> second thread it will be revived anyway.
>
> Is there a way to prevent this exception from happening when there are
> multiple threads?
>
> Paul
>
>
>
> Richard Tew wrote:
>> On Mon, Mar 16, 2009 at 8:25 AM, Paul Sijben <sijben at eemvalley.com> wrote:
>>   
>>> Would the occasional StopIteration exception have something to do with it
>>> too?
>>>     
>>
>> How is the StopIteration involved exactly?
>>
>> Cheers,
>> Richard.
>>   
>
> -- 
> Paul Sijben                    	        tel: +31334566488
> Eemvalley Technology     		fax: +31334557523
> the Netherlands                   	http://eemvalley.com    
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Stackless mailing list
> Stackless at stackless.com
> http://www.stackless.com/mailman/listinfo/stackless

-- 
Paul Sijben                    	        tel: +31334566488
Eemvalley Technology     		fax: +31334557523
the Netherlands                   	http://eemvalley.com    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20090316/03d5230c/attachment.htm>


More information about the Stackless mailing list