linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Which two types signal cannot be produce in user program?
@ 2004-11-08  2:38 zhc
       [not found] ` <418EEDC9.7070406@hq.ntsp.nec.co.jp>
  0 siblings, 1 reply; 4+ messages in thread
From: zhc @ 2004-11-08  2:38 UTC (permalink / raw)
  To: linux-c-programming

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Which two types signal cannot be produce in user program?
       [not found] ` <418EEDC9.7070406@hq.ntsp.nec.co.jp>
@ 2004-11-08  3:54   ` Ron Michael Khu
  2004-11-08  4:12     ` Daniel Souza
  0 siblings, 1 reply; 4+ messages in thread
From: Ron Michael Khu @ 2004-11-08  3:54 UTC (permalink / raw)
  To: Ron Michael Khu; +Cc: zhc, linux prg

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

>
> zhc wrote:
>
>>   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 majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>>
>
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Which two types signal cannot be produce in user program?
  2004-11-08  3:54   ` Ron Michael Khu
@ 2004-11-08  4:12     ` Daniel Souza
  2004-11-08  7:16       ` Glynn Clements
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Souza @ 2004-11-08  4:12 UTC (permalink / raw)
  To: Ron Michael Khu; +Cc: linux-c-programming

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...

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Which two types signal cannot be produce in user program?
  2004-11-08  4:12     ` Daniel Souza
@ 2004-11-08  7:16       ` Glynn Clements
  0 siblings, 0 replies; 4+ messages in thread
From: Glynn Clements @ 2004-11-08  7:16 UTC (permalink / raw)
  To: Daniel Souza; +Cc: Ron Michael Khu, linux-c-programming


Daniel Souza wrote:

> 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.

-- 
Glynn Clements <glynn@gclements.plus.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-11-08  7:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-08  2:38 Which two types signal cannot be produce in user program? zhc
     [not found] ` <418EEDC9.7070406@hq.ntsp.nec.co.jp>
2004-11-08  3:54   ` Ron Michael Khu
2004-11-08  4:12     ` Daniel Souza
2004-11-08  7:16       ` Glynn Clements

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).