<br><br><div class="gmail_quote">On Sat, Mar 19, 2011 at 2:00 AM, Manish Katiyar <span dir="ltr"><<a href="mailto:mkatiyar@gmail.com">mkatiyar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Fri, Mar 18, 2011 at 1:11 PM, mohit verma <<a href="mailto:mohit89mlnc@gmail.com">mohit89mlnc@gmail.com</a>> wrote:<br>
> Hi folks,<br>
> AFAIK there is not particular system call in Linux systems that can<br>
> register a number of signals (signal numbers) at once and provide a common<br>
> signal handler for all of the assembled signals.<br>
<br>
</div>Did you try giving a common signal handler for two different signals ?<br></blockquote><div>Yes i did. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
> I know doing this may be<br>
> hardly required in practice.<br>
<br>
</div>Why not....for example... I want to print "quitting...." error msg if<br>
I get SIGINT or SIGQUIT.<br></blockquote><div><br></div><div>Ok. i think these messages are for debugging purpose. But anyway let it be common. :) </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
<br>
> But i think this type of system call should be<br>
> in Linux systems which can serve handler functionality on some of signals.<br>
> Please tell me the flaws proposing something like this. i want to work on<br>
> this tiny problem. :)<br>
> --<br>
> ........................<br>
> MOHIT VERMA<br>
><br>
><br>
><br>
> --<br>
> ........................<br>
> MOHIT VERMA<br>
><br>
</div>> _______________________________________________<br>
> Kernelnewbies mailing list<br>
> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
Thanks -<br>
<font color="#888888">Manish<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>........................<div><i>MOHIT VERMA</i></div><br>