equal
deleted
inserted
replaced
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 |