Message133909
| 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:28 | vstinner | set | recipients:
+ vstinner, pitrou |
| 2011年04月16日 23:17:28 | vstinner | set | messageid: <1302995848.52.0.313058287904.issue11859@psf.upfronthosting.co.za> |
| 2011年04月16日 23:17:27 | vstinner | link | issue11859 messages |
| 2011年04月16日 23:17:27 | vstinner | create |
|