Author vstinner
Recipients exarkun, vstinner
Date 2011-06-09.23:00:56
SpamBayes Score 5.92843e-07
Marked as misclassified No
Message-id <1307660456.9.0.497118052372.issue12304@psf.upfronthosting.co.za>
In-reply-to
Content
"Linux offers the signalfd syscall since 2.6.22 (with minor changes afterwards).  This call allows signals to be handled as bytes read out of a file descriptor, rather than as interruptions to the flow of a program.  Quite usefully, this file descriptor can be select()'d on (or poll()'d, epoll()'d, etc) alongside other "normal" file descriptors.

In order to effectively use signalfd(), the signals in question must be blocked, though.  So it makes sense to expose sigprocmask(2) at the same time, in order to allow this blocking to be set up."

This message is copy/pasted from #8407 (msg103182). I created the issue because #8407 contains much more than signalfd().
History
Date User Action Args
2011-06-09 23:00:56vstinnersetrecipients: + vstinner, exarkun
2011-06-09 23:00:56vstinnersetmessageid: <1307660456.9.0.497118052372.issue12304@psf.upfronthosting.co.za>
2011-06-09 23:00:56vstinnerlinkissue12304 messages
2011-06-09 23:00:56vstinnercreate