Searched refs:accepting (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DWindowsAsynchronousServerSocketChannelImpl.java65 private AtomicBoolean accepting = new AtomicBoolean(); field in class:WindowsAsynchronousServerSocketChannelImpl
131 accepting.set(false);
340 // check and set flag to prevent concurrent accepting
341 if (!accepting.compareAndSet(false, true))
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DUnixAsynchronousServerSocketChannelImpl.java52 private final AtomicBoolean accepting = new AtomicBoolean(); field in class:UnixAsynchronousServerSocketChannelImpl
54 accepting.set(false);
180 // re-enable accepting and invoke handler
269 // check and set flag to prevent concurrent accepting
270 if (!accepting.compareAndSet(false, true))
324 // re-enable accepting before invoking handler

Completed in 322 milliseconds