Message138040
| Author |
vstinner |
| Recipients |
exarkun, vstinner |
| Date |
2011年06月09日.23:40:57 |
| SpamBayes Score |
1.2897816e-06 |
| Marked as misclassified |
No |
| Message-id |
<1307662858.23.0.693450989417.issue12304@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
#8407 changed the wakeup fd: it now contains the signal number. pthread_sigmask() is now part of Python 3.3 (see also #8407).
signalfd() has advantages over the wakeup fd (msg103326):
- it is handled in the kernel, the process is not interrupted. For example, system calls cannot fail with EINTR.
- it gives much more information than the signal number (see signalfd_siginfo structure)
- it is also possible to have several signalfds, each with a different signal mask. set_wakeup_fd is limited to a single fd per-process. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年06月09日 23:40:58 | vstinner | set | recipients:
+ vstinner, exarkun |
| 2011年06月09日 23:40:58 | vstinner | set | messageid: <1307662858.23.0.693450989417.issue12304@psf.upfronthosting.co.za> |
| 2011年06月09日 23:40:57 | vstinner | link | issue12304 messages |
| 2011年06月09日 23:40:57 | vstinner | create |
|