Re: Signal handler priority

2007-12-27 Thread Gilad Ben-Yossef

Ori Idan wrote:
I have a process that creates several threads all of them in real time 
priorities.
The process also has a signal handler, does anyone have any idea in what 
priority the signal handler will run?


The same priority of the thread that happens to handle that signal.

Please note that threads and signals mix very badly. You are highly 
advised to mask the signal in all threads and spawn a special thread 
just to handle the signal when it arrives, using sigwait().


Gilad

--
Gilad Ben-Yossef [EMAIL PROTECTED]
Codefidence. A name you can trust(tm)
Web: http://codefidence.com  | Cel:   +972.52.8260388
IL: +972.3.7515563 ext. 201  | Fax:+972.3.7515503

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Signal handler priority

2007-12-27 Thread Ori Idan
I have a process that creates several threads all of them in real time
priorities.
The process also has a signal handler, does anyone have any idea in what
priority the signal handler will run?

-- 
Ori Idan