Messages in this thread | | | From | "Isabelle, Francois" <> | Subject | Using kill_fasync for sig >= SIGRTMIN ? | Date | Wed, 16 Apr 2003 12:59:13 -0400 |
| |
I'm using kernel 2.4.20.
Is it possible to kill_fasync a signal >= SIGRTMIN to asynchronously notify a user of the availability of data from a driver ?
It seems to me the code always sends a SIGIO instead.
Looking at fs/fnctl.c and kernel/signal.c, it appears to fail in send_sig_info().
signal chosen is 40 ( lower than 64 on i386 ) bad_signal() , should not fail, except if kernel mode is not allowed to send RT signals ... then deliver_signal is called, which in turns call send_signal() . rtsig-nr = 0 , rtsig-max = 1024, there is no reason to fail...
Any explanation would help, thank you.
Please CC me.
Francois Isabelle - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |