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
Seome kind of unblocking input
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: 5051033"] Confusion abounds... You don't have to "pickle file like object..." for it to be used by a Python THREAD... But your mention of pipes makes me think you are using subprocesses and/or multiprocessing modules. Threads run in a shared environment (you may need to put a lock around the file object so that only one thread at a time does the I/O on that object), but processes are independent memory spaces. However, you may also encounter OS specific behavior WRT stdout/stderr when they are connected to a console. The OS itself may block/buffer output when there is a pending input on the same console. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
Seome kind of unblocking input
Top