pthread

it2025-10-19  7

函数原型:

int pthread_cancel(pthread_t thread)

发送终止信号给thread线程,如果成功则返回0,否则为非0值。发送成功并不意味着thread会终止。

最新回复(0)