Deliver the signal to the thread to which signal applies would be an acceptable signal handling scheme for a multi-threaded program.
Deliver the signal to the thread to which the signal applies.
Step-by-step explanation:
- Multi-threading in programming is a programming model that allows a user to create multiple threads in a single program.
- When the program executes, actually these threads execute in a certain order and the control signal [passes through each thread].
- The signal is delivered only to that particular thread to which it applies.
- Applying a signal to a thread which was not expecting it may cause errors in execution.