< prev index next >

src/java.base/windows/classes/sun/nio/ch/WEPollSelectorImpl.java

Print this page
@@ -107,15 +107,15 @@
          int numEntries;
          processUpdateQueue();
          processDeregisterQueue();
          try {
              begin(blocking);
-             long comp = Blocker.begin(blocking);
+             boolean attempted = Blocker.beginCompenstate(blocking);
              try {
                  numEntries = WEPoll.wait(eph, pollArrayAddress, NUM_EPOLLEVENTS, to);
              } finally {
-                 Blocker.end(comp);
+                 Blocker.endCompenstate(attempted);
              }
          } finally {
              end(blocking);
          }
          processDeregisterQueue();
< prev index next >