5 Dec
2013
5 Dec
'13
4:57 p.m.
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.