sun.nio.ch.NativeThread Java Examples
The following examples show how to use
sun.nio.ch.NativeThread.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SctpChannelImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
@Override public SctpChannel shutdown() throws IOException { synchronized(stateLock) { if (isShutdown) return this; ensureSendOpen(); SctpNet.shutdown(fdVal, -1); if (senderThread != 0) NativeThread.signal(senderThread); isShutdown = true; } return this; }
Example #2
Source File: SctpChannelImpl.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
@Override public SctpChannel shutdown() throws IOException { synchronized(stateLock) { if (isShutdown) return this; ensureSendOpen(); SctpNet.shutdown(fdVal, -1); if (senderThread != 0) NativeThread.signal(senderThread); isShutdown = true; } return this; }
Example #3
Source File: SctpMultiChannelImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (receiverThread != 0) NativeThread.signal(receiverThread); if (senderThread != 0) NativeThread.signal(senderThread); if (!isRegistered()) kill(); } }
Example #4
Source File: SctpServerChannelImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (thread != 0) NativeThread.signal(thread); if (!isRegistered()) kill(); } }
Example #5
Source File: SctpChannelImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (receiverThread != 0) NativeThread.signal(receiverThread); if (senderThread != 0) NativeThread.signal(senderThread); if (!isRegistered()) kill(); } }
Example #6
Source File: SctpChannelImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
@Override public SctpChannel shutdown() throws IOException { synchronized(stateLock) { if (isShutdown) return this; ensureSendOpen(); SctpNet.shutdown(fdVal, -1); if (senderThread != 0) NativeThread.signal(senderThread); isShutdown = true; } return this; }
Example #7
Source File: SctpMultiChannelImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (receiverThread != 0) NativeThread.signal(receiverThread); if (senderThread != 0) NativeThread.signal(senderThread); if (!isRegistered()) kill(); } }
Example #8
Source File: SctpServerChannelImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (thread != 0) NativeThread.signal(thread); if (!isRegistered()) kill(); } }
Example #9
Source File: SctpChannelImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (receiverThread != 0) NativeThread.signal(receiverThread); if (senderThread != 0) NativeThread.signal(senderThread); if (!isRegistered()) kill(); } }
Example #10
Source File: SctpChannelImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
@Override public SctpChannel shutdown() throws IOException { synchronized(stateLock) { if (isShutdown) return this; ensureSendOpen(); SctpNet.shutdown(fdVal, -1); if (senderThread != 0) NativeThread.signal(senderThread); isShutdown = true; } return this; }
Example #11
Source File: SctpMultiChannelImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (receiverThread != 0) NativeThread.signal(receiverThread); if (senderThread != 0) NativeThread.signal(senderThread); if (!isRegistered()) kill(); } }
Example #12
Source File: SctpServerChannelImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (thread != 0) NativeThread.signal(thread); if (!isRegistered()) kill(); } }
Example #13
Source File: SctpChannelImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (receiverThread != 0) NativeThread.signal(receiverThread); if (senderThread != 0) NativeThread.signal(senderThread); if (!isRegistered()) kill(); } }
Example #14
Source File: SctpChannelImpl.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (receiverThread != 0) NativeThread.signal(receiverThread); if (senderThread != 0) NativeThread.signal(senderThread); if (!isRegistered()) kill(); } }
Example #15
Source File: SctpMultiChannelImpl.java From jdk8u_jdk with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (receiverThread != 0) NativeThread.signal(receiverThread); if (senderThread != 0) NativeThread.signal(senderThread); if (!isRegistered()) kill(); } }
Example #16
Source File: SctpServerChannelImpl.java From jdk8u_jdk with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (thread != 0) NativeThread.signal(thread); if (!isRegistered()) kill(); } }
Example #17
Source File: SctpChannelImpl.java From jdk8u_jdk with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (receiverThread != 0) NativeThread.signal(receiverThread); if (senderThread != 0) NativeThread.signal(senderThread); if (!isRegistered()) kill(); } }
Example #18
Source File: SctpChannelImpl.java From jdk8u_jdk with GNU General Public License v2.0 | 5 votes |
@Override public SctpChannel shutdown() throws IOException { synchronized(stateLock) { if (isShutdown) return this; ensureSendOpen(); SctpNet.shutdown(fdVal, -1); if (senderThread != 0) NativeThread.signal(senderThread); isShutdown = true; } return this; }
Example #19
Source File: SctpMultiChannelImpl.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (receiverThread != 0) NativeThread.signal(receiverThread); if (senderThread != 0) NativeThread.signal(senderThread); if (!isRegistered()) kill(); } }
Example #20
Source File: SctpServerChannelImpl.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (thread != 0) NativeThread.signal(thread); if (!isRegistered()) kill(); } }
Example #21
Source File: SctpChannelImpl.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (receiverThread != 0) NativeThread.signal(receiverThread); if (senderThread != 0) NativeThread.signal(senderThread); if (!isRegistered()) kill(); } }
Example #22
Source File: SctpChannelImpl.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
@Override public SctpChannel shutdown() throws IOException { synchronized(stateLock) { if (isShutdown) return this; ensureSendOpen(); SctpNet.shutdown(fdVal, -1); if (senderThread != 0) NativeThread.signal(senderThread); isShutdown = true; } return this; }
Example #23
Source File: SctpMultiChannelImpl.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (receiverThread != 0) NativeThread.signal(receiverThread); if (senderThread != 0) NativeThread.signal(senderThread); if (!isRegistered()) kill(); } }
Example #24
Source File: SctpServerChannelImpl.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (thread != 0) NativeThread.signal(thread); if (!isRegistered()) kill(); } }
Example #25
Source File: SctpChannelImpl.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (receiverThread != 0) NativeThread.signal(receiverThread); if (senderThread != 0) NativeThread.signal(senderThread); if (!isRegistered()) kill(); } }
Example #26
Source File: SctpChannelImpl.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 5 votes |
@Override public SctpChannel shutdown() throws IOException { synchronized(stateLock) { if (isShutdown) return this; ensureSendOpen(); SctpNet.shutdown(fdVal, -1); if (senderThread != 0) NativeThread.signal(senderThread); isShutdown = true; } return this; }
Example #27
Source File: SctpServerChannelImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (thread != 0) NativeThread.signal(thread); if (!isRegistered()) kill(); } }
Example #28
Source File: SctpServerChannelImpl.java From dragonwell8_jdk with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (thread != 0) NativeThread.signal(thread); if (!isRegistered()) kill(); } }
Example #29
Source File: SctpChannelImpl.java From dragonwell8_jdk with GNU General Public License v2.0 | 5 votes |
@Override public void implCloseSelectableChannel() throws IOException { synchronized (stateLock) { SctpNet.preClose(fdVal); if (receiverThread != 0) NativeThread.signal(receiverThread); if (senderThread != 0) NativeThread.signal(senderThread); if (!isRegistered()) kill(); } }
Example #30
Source File: SctpChannelImpl.java From dragonwell8_jdk with GNU General Public License v2.0 | 5 votes |
@Override public SctpChannel shutdown() throws IOException { synchronized(stateLock) { if (isShutdown) return this; ensureSendOpen(); SctpNet.shutdown(fdVal, -1); if (senderThread != 0) NativeThread.signal(senderThread); isShutdown = true; } return this; }