Query on signals
Ankit Mahawar
ankit.mahawar at tcs.com
Fri Oct 7 09:08:18 UTC 2011
Hi
I have used setitmer function in C to notify the occurence of an event .
setitimer function generates a SIGLALRM signal which I handled through a
defined handler using signal system call.
There are multiple processes running and using this handler to handler the
SIGALRM .
I noticed that there is a delay in calling the handler for a process ..as
the signal is generated on time .
Could anyone help and tell the reason for this behaviour ..
I read that when a process receives a signal the kernel blocks further
receipt of the signal until the signal handler completes
So according to this if multiple signals occur on after the other ,both
gets blocked ?
If yes then how they get handled at a later time ..
Regards,
Ankit
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
More information about the redhat-list
mailing list