Allows a thread to end another thread in the current process.

#define INCL_DOSPROCESS
#include <os2.h>

TID       tid;   /*  Thread identifier within the current process to be ended. */
APIRET    ulrc;  /*  Return Code. */

ulrc = DosKillThread(tid);


[Back] [Next]