thread join.
thread join 实现(java层)
public final void join() throws InterruptedException { |
什么时候被唤醒呢
Thread的c++
实现
|
ensure_join
在什么时候执行呢
// For any new cleanup additions, please check to see if they need to be applied to |
线程执行完毕(退出时)
public final void join() throws InterruptedException { |
Thread的c++
实现
|
ensure_join
在什么时候执行呢
// For any new cleanup additions, please check to see if they need to be applied to |
线程执行完毕(退出时)