(selectThreadMutex): New field. (selectThread): New field. (unhandledWakeup): New field. (implCloseSelector): Added skeleton code which synchronizes as per Sun JRE JavaDoc. (keys): Throw ClosedSelectorException if selector is closed. (selectNow): Added comment that we're faking out an immediate select with a one-microsecond-timeout one. (select): Use 0 instead of -1 for infinite timeout. (implSelect): Changed comment in declaration. (select): Added synchronized to method declaration. Added synchronization and wakeup support as per Sun JRE JavaDoc. (selectedKeys): Throw ClosedSelectorException if selector is closed. (wakeup): Implemented. (deregisterCancelledKeys): Synchronize on cancelled key set before deregistering. (register): Synchronize on key set before registering. * java/nio/channels/spi/AbstractSelector.java Added import for java.nio.channels.ClosedSelectorException. (close): Added synchronized to method declaration. (cancelledKeys): Throw ClosedSelectorException if selector is closed. (cancelKey): Synchronize on cancelled key set before key. From-SVN: r74879
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| spi | Loading commit data... | |
| AlreadyConnectedException.java | Loading commit data... | |
| AsynchronousCloseException.java | Loading commit data... | |
| ByteChannel.java | Loading commit data... | |
| CancelledKeyException.java | Loading commit data... | |
| Channel.java | Loading commit data... | |
| Channels.java | Loading commit data... | |
| ClosedByInterruptException.java | Loading commit data... | |
| ClosedChannelException.java | Loading commit data... | |
| ClosedSelectorException.java | Loading commit data... | |
| ConnectionPendingException.java | Loading commit data... | |
| DatagramChannel.java | Loading commit data... | |
| FileChannel.java | Loading commit data... | |
| FileChannelImpl.java | Loading commit data... | |
| FileLock.java | Loading commit data... | |
| FileLockInterruptionException.java | Loading commit data... | |
| GatheringByteChannel.java | Loading commit data... | |
| IllegalBlockingModeException.java | Loading commit data... | |
| IllegalSelectorException.java | Loading commit data... | |
| InterruptibleChannel.java | Loading commit data... | |
| NoConnectionPendingException.java | Loading commit data... | |
| NonReadableChannelException.java | Loading commit data... | |
| NonWritableChannelException.java | Loading commit data... | |
| NotYetBoundException.java | Loading commit data... | |
| NotYetConnectedException.java | Loading commit data... | |
| OverlappingFileLockException.java | Loading commit data... | |
| Pipe.java | Loading commit data... | |
| ReadableByteChannel.java | Loading commit data... | |
| ScatteringByteChannel.java | Loading commit data... | |
| SelectableChannel.java | Loading commit data... | |
| SelectionKey.java | Loading commit data... | |
| Selector.java | Loading commit data... | |
| ServerSocketChannel.java | Loading commit data... | |
| SocketChannel.java | Loading commit data... | |
| UnresolvedAddressException.java | Loading commit data... | |
| UnsupportedAddressTypeException.java | Loading commit data... | |
| WritableByteChannel.java | Loading commit data... | |
| natFileChannelImpl.cc | Loading commit data... |