pthread_join用法

Zac*_*ach 2 c++ join pthreads

如果我调用pthread_join(NULL)会发生什么?

use*_*419 10

你得到一个编译时错误; pthread_join()期待2个参数:)