pthread_create、pthread_join
摘要:1、pthread_create:创建线程; 2、pthread_join:等待线程结束; pthead_create(a,..); pthread_join(); pthead_create(b); ... 则线程a执行完毕后,才会开始创建运行线程b;
阅读全文
posted @ 2017-08-21 19:39
posted @ 2017-08-21 19:39
posted @ 2017-08-19 17:16
posted @ 2017-08-19 15:01
posted @ 2017-08-19 14:22
posted @ 2017-08-17 16:42
posted @ 2017-08-16 11:13
posted @ 2017-08-11 11:35