您的位置首页百科知识

WIN32 SuspendThread/ResumeThread 在 pthread下有什么方法代替

WIN32 SuspendThread/ResumeThread 在 pthread下有什么方法代替

#include //挂起当前线程激昌int pthread_join(pthread_t th,void **thread_return);//让线笑液程分离int pthread_detach(pthread_t th);关于pthread函明升扒数族有很多函数查看一下pthread.h或google搜一下这方面介绍很多