gcc/libjava/java/nio/channels
Mohan Embar 677f99cce5 * gnu/java/nio/SelectorImpl.java
(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
2003-12-20 15:33:24 +00:00
..
spi * gnu/java/nio/SelectorImpl.java 2003-12-20 15:33:24 +00:00
AlreadyConnectedException.java AlreadyConnectedException.java: Removed unneeded import. 2002-11-13 13:52:47 +00:00
AsynchronousCloseException.java AsynchronousCloseException.java, [...]: New files. 2002-11-21 10:45:14 +00:00
ByteChannel.java AlreadyConnectedException.java, [...]: New file. 2002-10-07 07:59:12 +00:00
CancelledKeyException.java AsynchronousCloseException.java, [...]: New files. 2002-11-21 10:45:14 +00:00
Channel.java Channel.java, [...]: Removed redundant modifiers. 2003-10-11 18:45:10 +00:00
Channels.java ChannelOutputStream.java: New file. 2003-12-19 20:42:00 +00:00
ClosedByInterruptException.java AsynchronousCloseException.java, [...]: New files. 2002-11-21 10:45:14 +00:00
ClosedChannelException.java PlainSocketImpl.java: Reworked imports. 2002-11-18 13:22:55 +00:00
ClosedSelectorException.java PlainSocketImpl.java: Reworked imports. 2002-11-18 13:22:55 +00:00
ConnectionPendingException.java AsynchronousCloseException.java, [...]: New files. 2002-11-21 10:45:14 +00:00
DatagramChannel.java 2003-02-11 Michael Koch <konqueror@gmx.de> 2003-02-11 06:48:53 +00:00
FileChannel.java 2003-06-27 Michael Koch <konqueror@gmx.de> 2003-06-27 13:34:12 +00:00
FileChannelImpl.java ChannelInputStream.java: New file. 2003-12-19 19:06:34 +00:00
FileLock.java 2003-05-14 Michael Koch <konqueror@gmx.de> 2003-05-14 06:37:59 +00:00
FileLockInterruptionException.java AsynchronousCloseException.java, [...]: New files. 2002-11-21 10:45:14 +00:00
GatheringByteChannel.java Channel.java, [...]: Removed redundant modifiers. 2003-10-11 18:45:10 +00:00
IllegalBlockingModeException.java
IllegalSelectorException.java AsynchronousCloseException.java, [...]: New files. 2002-11-21 10:45:14 +00:00
InterruptibleChannel.java AlreadyConnectedException.java, [...]: New file. 2002-10-07 07:59:12 +00:00
natFileChannelImpl.cc FileChannelImpl.java, [...]: Removed. 2003-07-13 16:53:05 +00:00
NoConnectionPendingException.java AsynchronousCloseException.java, [...]: New files. 2002-11-21 10:45:14 +00:00
NonReadableChannelException.java AsynchronousCloseException.java, [...]: New files. 2002-11-21 10:45:14 +00:00
NonWritableChannelException.java AsynchronousCloseException.java, [...]: New files. 2002-11-21 10:45:14 +00:00
NotYetBoundException.java AsynchronousCloseException.java, [...]: New files. 2002-11-21 10:45:14 +00:00
NotYetConnectedException.java AsynchronousCloseException.java, [...]: New files. 2002-11-21 10:45:14 +00:00
OverlappingFileLockException.java AsynchronousCloseException.java, [...]: New files. 2002-11-21 10:45:14 +00:00
Pipe.java 2003-02-11 Michael Koch <konqueror@gmx.de> 2003-02-11 06:48:53 +00:00
ReadableByteChannel.java Channel.java, [...]: Removed redundant modifiers. 2003-10-11 18:45:10 +00:00
ScatteringByteChannel.java Channel.java, [...]: Removed redundant modifiers. 2003-10-11 18:45:10 +00:00
SelectableChannel.java 2003-02-11 Michael Koch <konqueror@gmx.de> 2003-02-11 06:48:53 +00:00
SelectionKey.java 2003-02-11 Michael Koch <konqueror@gmx.de> 2003-02-11 06:50:13 +00:00
Selector.java 2002-11-18 Michael Koch <konqueror@gmx.de> 2002-11-18 14:31:39 +00:00
ServerSocketChannel.java 2003-06-27 Michael Koch <konqueror@gmx.de> 2003-06-27 13:34:12 +00:00
SocketChannel.java 2003-02-11 Michael Koch <konqueror@gmx.de> 2003-02-11 06:48:53 +00:00
UnresolvedAddressException.java AsynchronousCloseException.java, [...]: New files. 2002-11-21 10:45:14 +00:00
UnsupportedAddressTypeException.java AsynchronousCloseException.java, [...]: New files. 2002-11-21 10:45:14 +00:00
WritableByteChannel.java Channel.java, [...]: Removed redundant modifiers. 2003-10-11 18:45:10 +00:00