KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to read messages from either a Queue.Queue or a TCP socket, whichever comes first. How can it be achieved without resorting to 2 threads ? Platform is CPython 2.7.5 on Windows
Tags (comma-separated)
Save Edits
Cancel