Problem with Signals in multiprocessor multi threaded applications
When does an process response to a signal like SIGQUIT? I mean to say if the process is executing in the kernel space it will only respond to the signal once it comes back to user space. If it never returns from kenel space the signal cannt be processed.
If I am wrong plz correct me.
We have a scenario we have a multiprocessor system and multithreaded process running on all processors.
One of the thread in the process is in kernel mode. What will happen if a SIGQUIT is send from the second process running at the other processor.
In case another thread in the 1st process get a chance to run (which is at user space )receives the signal how will t response?
Thanks in advance