< prev index next >

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

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