
线程
ZC20141220
这个作者很懒,什么都没留下…
展开
-
线程的基本函数
pthread_create(pthread_t *thread, const pthread_attr_t *attr,void *(*start_routine) (void *),void *arg); pthread_t pthread_self(void); int pthread_detach(pthread_t tid); int pthread_equal(pthread_t t1,pthread_t t2); void pthread_exit(void *retval); int pth原创 2017-09-23 19:45:21 · 370 阅读 · 0 评论 -
线程终止方式
只终止某个线程而不终止整个线程的三种方式翻译 2017-09-23 20:02:53 · 345 阅读 · 0 评论