homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author socketpair
Recipients socketpair
Date 2011年07月01日.09:31:27
SpamBayes Score 6.866782e-06
Marked as misclassified No
Message-id <1309512688.11.0.74406934883.issue12460@psf.upfronthosting.co.za>
In-reply-to
Content
Suppose i'm trying to correctly terminate thread with socketserver during application termination.
I do not want to wait too long (also do not want to hang), I want to protect against long-lived operations in SimpleServer
so something like
myserver.shutdown(2)
will be nice.
Also it should return True or False depending on successfull shutting down.
It's easy to implement - thanks to Threading.event.wait(timeout=...)
Don't know if it is applicable to python 3.x
History
Date User Action Args
2011年07月01日 09:31:28socketpairsetrecipients: + socketpair
2011年07月01日 09:31:28socketpairsetmessageid: <1309512688.11.0.74406934883.issue12460@psf.upfronthosting.co.za>
2011年07月01日 09:31:27socketpairlinkissue12460 messages
2011年07月01日 09:31:27socketpaircreate

AltStyle によって変換されたページ (->オリジナル) /