hi people,
I just wanted to understand that why exactly would we synchronize a current thread object...
Why do we do this
synchronized (Thread.currentThread())
I just wanted to understand that why exactly would we synchronize a current thread object...
Why do we do this
synchronized (Thread.currentThread())