多线程编程指南

终止线程

使用 thr_exit(3C) 可以终止线程。对于 POSIX 线程,请参见pthread_exit 语法

thr_exit 语法

#include <thread.h>



void thr_exit(void *status);

thr_exit 返回值

thr_exit() 不返回到其调用方。