MCPcopy Create free account
hub / github.com/ReadyTalk/avian / clearWoken

Method clearWoken

classpath/java/nio/channels/SocketSelector.java:43–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 }
42
43 private boolean clearWoken() {
44 synchronized (lock) {
45 if (woken) {
46 woken = false;
47 return true;
48 } else {
49 return false;
50 }
51 }
52 }
53
54 public synchronized int selectNow() throws IOException {
55 return doSelect(-1);

Callers 1

doSelectMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected