David Lidz wrote:Using join suspends the caller until the thread that you invoke join on is done.
in pseudo code.
Thread t = new Thread();
t.join(); // Will NOT resume until t is finished with its task
System.out.println("Thread t is now done.");
Mr Anil Kumar Pandey wrote:
please provide me complete example
Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)