jdk/src/solaris/classes/sun/nio/ch/DevPollSelectorImpl.java
changeset 2057 3acf8e5e2ca0
parent 1449 2ed6188288d6
child 5506 202f599c92aa
equal deleted inserted replaced
2056:115e09b7a004 2057:3acf8e5e2ca0
     1 /*
     1 /*
     2  * Copyright 2001-2008 Sun Microsystems, Inc.  All Rights Reserved.
     2  * Copyright 2001-2009 Sun Microsystems, Inc.  All Rights Reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Sun designates this
     7  * published by the Free Software Foundation.  Sun designates this
   137         // prevent further wakeup
   137         // prevent further wakeup
   138         synchronized (interruptLock) {
   138         synchronized (interruptLock) {
   139             interruptTriggered = true;
   139             interruptTriggered = true;
   140         }
   140         }
   141 
   141 
   142         FileDispatcher.closeIntFD(fd0);
   142         FileDispatcherImpl.closeIntFD(fd0);
   143         FileDispatcher.closeIntFD(fd1);
   143         FileDispatcherImpl.closeIntFD(fd1);
   144 
   144 
   145         pollWrapper.release(fd0);
   145         pollWrapper.release(fd0);
   146         pollWrapper.closeDevPollFD();
   146         pollWrapper.closeDevPollFD();
   147         selectedKeys = null;
   147         selectedKeys = null;
   148 
   148