[Stackless] stackless inter-thread queues

Paul Sijben sijben at eemvalley.com
Sun Mar 15 13:19:36 CET 2009



Richard Tew wrote:
> On Sat, Mar 14, 2009 at 12:02 PM, Paul Sijben <sijben at eemvalley.com> wrote:
>   
>> well, sometimes channel.receive gives me None while nothing was put in.
>>     
>
> Hi Paul,
>
> Can you elaborate on this?
>
> Cheers,
> Richard.
>   
sure, I found that a receive() on a channel sometimes returns None but I
did not put in None. So I worked around that by always putting in a
tuple an checking if I received a tuple.

-- 
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/20090315/93b6b9a2/attachment.htm>


More information about the Stackless mailing list