Hi All,
From the official documentation of
Java
"If t is a
Thread object whose thread is currently executing,
t.join();
causes the current thread to pause execution until t's thread terminates."
My question is it possible to get into a deadlock situation if t is the currently executing thread and we call a join on thread t? Please clarify with an example, if required.