SelectorImpl.java (select): Call static Thread interrupted() method to clear interupt flag of our Thread.
2004-07-09 Mark Wielaard <mark@klomp.org> * gnu/java/nio/SelectorImpl.java (select): Call static Thread interrupted() method to clear interupt flag of our Thread. From-SVN: r84367
This commit is contained in:
committed by
Michael Koch
parent
23c41c0833
commit
2e54a860a8
@@ -261,7 +261,7 @@ public class SelectorImpl extends AbstractSelector
|
||||
if (unhandledWakeup)
|
||||
{
|
||||
unhandledWakeup = false;
|
||||
selectThread.interrupted ();
|
||||
Thread.interrupted ();
|
||||
}
|
||||
selectThread = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user