lkml.org 
[lkml]   [2003]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectUsing kill_fasync for sig >= SIGRTMIN ?
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.029 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site