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 giampaolo.rodola, neologix, pitrou, vstinner
Date 2011-06-09.10:37:18
SpamBayes Score 4.797739e-08
Marked as misclassified No
Message-id <1307615839.65.0.611175997001.issue12187@psf.upfronthosting.co.za>
In-reply-to
Content
(I should not answer in this issue, but in #8407)

> > See also issue #8407 for sigtimedwait() and signalfd() in Python.
>
> You didn't commit the signalfd part?

Not yet because I would like to provide something to decode the data written into the signalfd file descriptor (msg135438), the signalfd_siginfo structure.

> Whay do you think of sigtimedwait?

It would like to expose it (msg137071, you should read sigtimedwait, not sigwaitinfo :-)). I started to work on a patch, but it requires a siginfo_t structure, and I didn't finish my patch. I will retry later.

> Expose it as-is, or just add an optional timeout option to sigwait?

I prefer thin wrappers: sigwaitinfo() is more than just a timeout argument, there is also the signal info argument.
History
Date User Action Args
2011-06-09 10:37:19vstinnersetrecipients: + vstinner, pitrou, giampaolo.rodola, neologix
2011-06-09 10:37:19vstinnersetmessageid: <1307615839.65.0.611175997001.issue12187@psf.upfronthosting.co.za>
2011-06-09 10:37:19vstinnerlinkissue12187 messages
2011-06-09 10:37:19vstinnercreate