In which thread the signal_handler is running?
From: Morgan Cheng (morgan.chengmo_at_gmail.com)
Date: 12/24/04
- Next message: Uday Mullangi: "flash drive"
- Previous message: Uday Mullangi: "NFS mounting"
- Next in thread: Joe Seigh: "Re: In which thread the signal_handler is running?"
- Reply: Joe Seigh: "Re: In which thread the signal_handler is running?"
- Reply: Basile Starynkevitch [news]: "Re: In which thread the signal_handler is running?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 24 Dec 2004 15:45:25 +0800
In <Advanced Linux Programming>, it is said "Signals are asynchronous;
when a process receives a signal, it processes the signal immediately,
without finishing the current function or even the current line of code."
So, which thread runs the signal handler function? a new thread?
By the way, for multithread process, only one stack or the number of
stack is the same as the number of thread?
- Next message: Uday Mullangi: "flash drive"
- Previous message: Uday Mullangi: "NFS mounting"
- Next in thread: Joe Seigh: "Re: In which thread the signal_handler is running?"
- Reply: Joe Seigh: "Re: In which thread the signal_handler is running?"
- Reply: Basile Starynkevitch [news]: "Re: In which thread the signal_handler is running?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|