code: def wait(self):
          
          ret = os.read(self.event_fd, 64 / 8)
          return struct.unpack('Q', ret)
docs: It returns when an event which we have configured by set_threshold happens.
          Note that it blocks until then.