写在前面
Join函数作用:
Join thread The function returns when the thread execution has completed.//直到线程完成函数才返回 |
在多线程的参数传递中说到,使用join()函数,我们需要考虑,什么时候调用join()函数,因为如果在join调用之前可能会产生中断,从
Join函数作用:
Join thread The function returns when the thread execution has completed.//直到线程完成函数才返回 |
在多线程的参数传递中说到,使用join()函数,我们需要考虑,什么时候调用join()函数,因为如果在join调用之前可能会产生中断,从