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 |
222 |
222 |
223 /** |
223 /** |
224 * Close epoll file descriptor and free poll array |
224 * Close epoll file descriptor and free poll array |
225 */ |
225 */ |
226 void closeEPollFD() throws IOException { |
226 void closeEPollFD() throws IOException { |
227 FileDispatcher.closeIntFD(epfd); |
227 FileDispatcherImpl.closeIntFD(epfd); |
228 pollArray.free(); |
228 pollArray.free(); |
229 } |
229 } |
230 |
230 |
231 int poll(long timeout) throws IOException { |
231 int poll(long timeout) throws IOException { |
232 updateRegistrations(); |
232 updateRegistrations(); |