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 vstinner
Recipients pitrou, vstinner
Date 2011-04-16.23:17:27
SpamBayes Score 0.0014671414
Marked as misclassified No
Message-id <1302995848.52.0.313058287904.issue11859@psf.upfronthosting.co.za>
In-reply-to
Content
I already read somewhere that on FreeBSD, any thread can receive a signal, not only the main thread. I suppose that it should be the same on Linux, but Linux tries maybe to send a signal to the main thread if the main thread and other threads are calling a system call.

In this case, "_read" thread gets the SIGARLM signal and so its os.read() system call is interrupted. It means that os.read() is blocked at least one second, whereas wio.write() is supposed to send data to unblock _read() thread.
History
Date User Action Args
2011-04-16 23:17:28vstinnersetrecipients: + vstinner, pitrou
2011-04-16 23:17:28vstinnersetmessageid: <1302995848.52.0.313058287904.issue11859@psf.upfronthosting.co.za>
2011-04-16 23:17:27vstinnerlinkissue11859 messages
2011-04-16 23:17:27vstinnercreate