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:
parent
23c41c0833
commit
2e54a860a8
2 changed files with 6 additions and 1 deletions
|
@ -261,7 +261,7 @@ public class SelectorImpl extends AbstractSelector
|
|||
if (unhandledWakeup)
|
||||
{
|
||||
unhandledWakeup = false;
|
||||
selectThread.interrupted ();
|
||||
Thread.interrupted ();
|
||||
}
|
||||
selectThread = null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue