Kernel events without kevents
Posted Mar 17, 2007 17:19 UTC (Sat) by vmole
In reply to: Kernel events without kevents
Parent article: Kernel events without kevents
How does it do that? I don't think sigaction modifies the signal mask.
I misremembered, partially. The sa_mask member of the structure just blocks signals during delivery of the desired signal, not all the time. (Before sigaction(2), you had to try and call sigprocmask(2) from inside your signal handler to get this affect, which was completely unreliable.) This kind of blocking isn't necessary with signalfd because (duh!) the signals aren't delivered asynchronously.
to post comments)