signal handler question
From: Steven Wong (gndm_2001_at_yahoo.com)
Date: 10/02/03
- Next message: Michael Raymond: "Re: signal handler question"
- Previous message: Jeff Hanson: "Re: SGI and Hobbyists"
- Next in thread: Michael Raymond: "Re: signal handler question"
- Reply: Michael Raymond: "Re: signal handler question"
- Reply: Brent Casavant: "Re: signal handler question"
- Reply: Steven Wong: "Re: signal handler question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 2 Oct 2003 07:12:01 -0700
Hi,
I was looking at sigaction(), and according to the man pages (for IRIX
6.5):
The sigaction POSIX service allows for per-thread handlers to be
installed for catching synchronous signals. It is called in a
multithreaded process to establish thread specific actions for
such signals.
So would calling sigaction set the signal handlers for the calling
thread? how else could you specify which thread the handler's for?
Also, there is another sigaction() listed in the tech pubs library for
IRIX 6.5, which sends signals to processes. How would you know which
one your calling? would it depend on whether or not pthreads were
linked?
If thread-specific handlers were set up, is it possible that sending
the SIGKILL signal to a thread (using pthread_kill()) would not kill
the whole process?
Thanks!
- Next message: Michael Raymond: "Re: signal handler question"
- Previous message: Jeff Hanson: "Re: SGI and Hobbyists"
- Next in thread: Michael Raymond: "Re: signal handler question"
- Reply: Michael Raymond: "Re: signal handler question"
- Reply: Brent Casavant: "Re: signal handler question"
- Reply: Steven Wong: "Re: signal handler question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|