8 Dec
2013
8 Dec
'13
3:47 p.m.
On Thu, Dec 05, 2013 at 02:57:46PM +0000, Mark Brown wrote:
On Thu, Dec 05, 2013 at 02:25:28PM +0000, Charles Keepax wrote:
Tricky thing is making 100% sure we don't enter a poll after we have received the signal, especially if we are just using the standard pattern of communicating the signal using a sig_atomic_t.
If you don't buffer and use Unix I/O rather than stdio for any I/O in the handler you can exit happily from the handler IIRC, the big problem is stdio.
Cool, I will have a look at this in more detail and respin the series.
Thanks, Charles