C4 Engine
C4 Engine API Documentation

Thread::SetThreadSignal

Defined in:  C4Threads.h
Sets the signal associated with the thread.
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

Thread::GetThreadSignal

Signal