Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
getting a thread out of sleep
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Dennis Lee Bieber, post: 2058775"] I begin to think you'd be better off just using a Queue to pass the events in... Thread: while True: evnt = evtQueue.get() do something with evnt (allows one to pass an identifier and data) Other: evtQueue.put("EVENTx") As I recall, threading Event() is more targeted at having multiple threads waiting for notification, and one thread signalling. -- Wulfraed Dennis Lee Bieber KD6MOG [email]wlfraed@ix.netcom.com[/email] [email]wulfraed@bestiaria.com[/email] [URL]HTTP://wlfraed.home.netcom.com/[/URL] (Bestiaria Support Staff: [email]web-asst@bestiaria.com[/email]) [URL]HTTP://www.bestiaria.com/[/URL] [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
getting a thread out of sleep
Top