Query on signals

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux