[ad_1]
It’s not asynchronous. You need to invoke start() not run() Run will execute the Runnable’s run method in the current thread. start will create a new thread which will invoke the run method.
0
[ad_2]
solved Java Thread Hang
[ad_1]
It’s not asynchronous. You need to invoke start() not run() Run will execute the Runnable’s run method in the current thread. start will create a new thread which will invoke the run method.
0
[ad_2]
solved Java Thread Hang