equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved. |
2 * Copyright 2005-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 |
134 // prevent further wakeup |
134 // prevent further wakeup |
135 synchronized (interruptLock) { |
135 synchronized (interruptLock) { |
136 interruptTriggered = true; |
136 interruptTriggered = true; |
137 } |
137 } |
138 |
138 |
139 FileDispatcher.closeIntFD(fd0); |
139 FileDispatcherImpl.closeIntFD(fd0); |
140 FileDispatcher.closeIntFD(fd1); |
140 FileDispatcherImpl.closeIntFD(fd1); |
141 |
141 |
142 pollWrapper.release(fd0); |
142 pollWrapper.release(fd0); |
143 pollWrapper.closeEPollFD(); |
143 pollWrapper.closeEPollFD(); |
144 // it is possible |
144 // it is possible |
145 selectedKeys = null; |
145 selectedKeys = null; |