线程分离pthread_detach()中的return()和pthread_exit()
摘要:
在main()函数中,如果采用return 0,则没有任何输出就退出了;而如果采用的是pthread_exit(NULL),则打印出消息 阅读全文
posted @ 2017-04-26 16:32 枝桠 阅读(2008) 评论(0) 推荐(0)
posted @ 2017-04-26 16:32 枝桠 阅读(2008) 评论(0) 推荐(0)
posted @ 2017-04-26 16:00 枝桠 阅读(3293) 评论(0) 推荐(0)
posted @ 2017-04-26 09:56 枝桠 阅读(6121) 评论(1) 推荐(0)