posted 16 years ago
thr.join();
thr can be in any state. Only the thread that executes this line (the currentThread()) will be waiting:
#0, Calling thread: main, status: WAITING
#1, Calling thread: main, status: WAITING
#2, Calling thread: main, status: WAITING
#3, Calling thread: main, status: WAITING
#4, Calling thread: main, status: WAITING
#5, Calling thread: main, status: WAITING
#6, Calling thread: main, status: WAITING
main ready
Yours,
Bu.
all events occur in real time