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 benjamin.peterson, exarkun, gregory.p.smith, loewis, marcin.bachry, pitrou, python-dev, schmichael, spiv, tseaver, vstinner
Date 2011-04-30.14:40:52
SpamBayes Score 0.0003909519
Marked as misclassified No
Message-id <1304174454.98.0.172899236707.issue8407@psf.upfronthosting.co.za>
In-reply-to
Content
signalfd.patch: Add signal.signalfd(), signal.SFD_CLOEXEC and signal.SFD_NONLOCK.

The patch is based on http://codereview.appspot.com/1132041 and the last version (bzr) of python-signalfd.

The patch uses also PyModule_AddIntMacro() for the 3 constants added in my last (pthread_sigmask), and changes pthread_sigmask() to raise an OSError instead of a RuntimeError.

Note: python-signalfd has a bug: it doesn't pass the fd argument to signalfd(), it always pass -1.
History
Date User Action Args
2011-04-30 14:40:55vstinnersetrecipients: + vstinner, loewis, gregory.p.smith, spiv, exarkun, tseaver, pitrou, benjamin.peterson, marcin.bachry, schmichael, python-dev
2011-04-30 14:40:54vstinnersetmessageid: <1304174454.98.0.172899236707.issue8407@psf.upfronthosting.co.za>
2011-04-30 14:40:54vstinnerlinkissue8407 messages
2011-04-30 14:40:54vstinnercreate