| Log In | Not a Member? |
Contact ADC
|
|
ADC Home > Reference Library > Technical Q&As > Darwin > Performance >
|
|
Q: I have a multi-threaded process on Mac OS X. If my process receives a signal, which thread executes the signal handler? A: Synchronous signals, those caused by the thread
itself (like
Q: I have a multi-threaded process on Mac OS X. If one thread receives a signal, will the other threads stop? A: No. All other threads continue to run during signal handler invocation. Q: Has there been any change in thread signal handling in Mac OS X 10.2? A: The above answers still hold. The most
significant changes in thread signal handling in Mac OS X
10.2 are that you can now send an asynchronous signal to a
specific thread within your process
( Q: If one of my threads is
waiting in A: No. The choice of thread
to execute an asynchronous signal handler is described
above, and it is not affected by calls to
|
|