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:
Mark Wielaard 2004-07-09 13:56:08 +00:00 committed by Michael Koch
parent 23c41c0833
commit 2e54a860a8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.
2004-07-09 Dalibor Topic <robilad@kaffe.org>
* java/nio/Buffer.java,

View File

@ -261,7 +261,7 @@ public class SelectorImpl extends AbstractSelector
if (unhandledWakeup)
{
unhandledWakeup = false;
selectThread.interrupted ();
Thread.interrupted ();
}
selectThread = null;
}