Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to determine if multiprocessing.Queue instance is closed #20

Open
GoogleCodeExporter opened this issue Jan 23, 2016 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

First, many thanks to all involved for back porting multiprocessing to
Python 2.5!

Second, in my application I need to determine if a Queue instance
is closed. I am currently using ._closed attribute for that.
Since the _closed attribute is not public then this usage is not
a good practice. So, I wonder if a method, say is_alive, could be 
introduced to determine if a Queue is instance is closed or not.

Original issue reported on code.google.com by pearu.peterson on 24 Sep 2009 at 8:01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant