M
metfan
Hi,
I created a thread and in the run() method the thread will
read from a BufferedReader(). If there are no data available
for read, the thread blocks. Now how can I tell the blocking
thread to quit from run() in another thread?
I created a thread and in the run() method the thread will
read from a BufferedReader(). If there are no data available
for read, the thread blocks. Now how can I tell the blocking
thread to quit from run() in another thread?