Multithreaded Programming Guide

Terminate a Thread

Use thr_exit(3C) to terminate a thread. For POSIX threads, see pthread_exit Syntax.

thr_exit Syntax

#include <thread.h>

void thr_exit(void *status);

thr_exit Return Values

thr_exit() does not return to its caller.