Thread::SetThreadSignal
Defined in:
Sets the signal associated with the thread.
C4Threads.h
Prototype
void SetThreadSignal(Signal *signal);
Parameters
signal |
The signal to assign to the thread. |
Description
The SetThreadSignal
function assigns a Signal
object to a thread. When a Thread
object is destroyed and it has a Signal
object assigned to it, the thread triggers signal 0 to indicate that the thread should exit.
See Also