【发布时间】:2020-06-30 08:06:33
【问题描述】:
我找到this example;这里两个线程 threadDefault 和 threadCustomized 通过使用 pthread_exit 然后返回来终止。作者为什么要写这两条指令?
【问题讨论】:
-
你好@Ted 谢谢你的建议。在高分回复中,OP 只使用了 pthread_exit。
标签: c multithreading return pthreads pthread-exit