pthread_create、pthread_join

1、pthread_create:创建线程;

2、pthread_join:等待线程结束;

pthead_create(a,..);

pthread_join();

pthead_create(b);

...

则线程a执行完毕后,才会开始创建运行线程b;

posted on 2017-08-21 19:39  月未央  阅读(613)  评论(0编辑  收藏  举报

导航