You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 23, 2017. It is now read-only.
Re: https://groups.google.com/forum/#!topic/python-tulip/31FktH8h-jk
(TL;DR: How do I use timeouts with "Queue.get()"?)
What steps will reproduce the problem?
The attached script demonstrates that loss of items in producer-consumer
situation where there are timeouts with ".wait()".
The script will start a producer and a consumer. It will process 100 items.
What is the expected output? What do you see instead?
It is expected that the producer will put 100 items and the consumer will get
100 items. Instead, the producer will put 100 items, but the consumer will only
see a fraction of the items.
On my computer, the script will hang with 31 items outstanding. It is expected
that the script should finish. If you remove line 40 where the producer is
blocked (causing a timeout on the consumer), the script should complete.
What version of the product are you using? On what operating system?
Python 3.4.0 Ubuntu 14.04
Please provide any additional information below.
This also occurs with Trollius 1.0.
Original issue reported on code.google.com by [email protected] on 20 Aug 2014 at 3:07
Original issue reported on code.google.com by
[email protected]
on 20 Aug 2014 at 3:07Attachments:
The text was updated successfully, but these errors were encountered: