< prev index next >

src/java.base/aix/classes/sun/nio/ch/PollsetPoller.java

Print this page
*** 56,19 ***
      int fdVal() {
          return setid;
      }
  
      @Override
!     void implRegister(int fd) throws IOException {
          int ret = Pollset.pollsetCtl(setid, Pollset.PS_MOD, fd, Pollset.PS_POLLPRI | event);
          if (ret != 0) {
              throw new IOException("Unable to register fd " + fd);
          }
      }
  
      @Override
!     void implDeregister(int fd, boolean polled) {
          int ret = Pollset.pollsetCtl(setid, Pollset.PS_DELETE, fd, 0);
          assert ret == 0;
      }
  
      /**
--- 56,19 ---
      int fdVal() {
          return setid;
      }
  
      @Override
!     void implStartPoll(int fd) throws IOException {
          int ret = Pollset.pollsetCtl(setid, Pollset.PS_MOD, fd, Pollset.PS_POLLPRI | event);
          if (ret != 0) {
              throw new IOException("Unable to register fd " + fd);
          }
      }
  
      @Override
!     void implStopPoll(int fd, boolean polled) {
          int ret = Pollset.pollsetCtl(setid, Pollset.PS_DELETE, fd, 0);
          assert ret == 0;
      }
  
      /**
< prev index next >