|
|
About ::
TODO ::
Blog ::
RSS ::
Old blog ::
Projects ::
GIT ::
Gallery ::
Notes
Sat, 11 Nov 2006
Added kevent signal notifications.
Signals which were requested to be delivered through kevent
subsystem must be registered through usual signal() and others
syscalls, this option allows alternative delivery.
With KEVENT_SIGNAL_NOMASK flag being set in kevent for set of
signals, they will not be delivered in a usual way.
Kevents for appropriate signals are not copied when process forks,
new process must add new kevents after fork(). Mask of signals
is copied as before.
Here is output of the test program signal.c available in archive:
sig_handler, signo: 10.
Dequeued signal: 10, nodel: 0.
Dequeued signal: 12, nodel: 1.
Program registers SIGUSR1 and SIGUSR2 signals
to be delivered through kevent, the former is delivered both through
signal callback and kevent, the latter only through kevent.
/devel/kevent :: Link / Comments (0)
|