@cfsamson Would it be possible that after the interest is registered, the reactor quickly get the event and tries to call wake, but waker has not been added since lock here. Now that epoll is edge-level here, the event will never be received again so never wake the executor. I'm not sure if I'm right.
|
runtime::reactor().register(stream, Interest::READABLE, id); |
|
runtime::reactor().set_waker(waker, self.id); |