Skip to contentSkip to conversation

Which two types signal cannot be produce in user program?

DISCUSSION zhc 4 participants 4 messages Nov 8, 2004 1 message not in the archive

lore
Share & tools
lore

zhc

author
#0 lore raw

Yesterday someone asked me the question. I don't know how to answer
him, Who can tell me ? Thank you.

#2 lore raw
In reply to a message not in the archive

i dont know about raising/producing... but there are 2 signals which cant be caught: SIGSTOP and SIGKILL =(

Quoted 14 lines
Quoted 9 lines · zhc

Yesterday someone asked me the question. I don't know how to answer
him, Who can tell me ? Thank you.

-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

well... I dont know if I got your question but... i believe that a signal like SIGCHLD cant be sent to another process via normal kill(), cuz the OS is responsible for deliver it...

#4 lore raw
Quoted 3 lines · Daniel Souza

well... I dont know if I got your question but... i believe that a signal like SIGCHLD cant be sent to another process via normal kill(), cuz the OS is responsible for deliver it...

You can send any signal via kill(), provided that you have sufficient permission (the permission issue affects which processes you can signal, but it affects all signals equally). There isn't anything special about SIGCHLD.

Signature · 1 line
Glynn Clements <[email protected]>