Searched refs:AddWriteEvent (Results 1 – 4 of 4) sorted by relevance
49 IOEventRef AddWriteEvent(int fd, const std::function<bool()>& callback);
71 ASSERT_NE(nullptr, loop.AddWriteEvent(fd[1], [&]() { in TEST()189 IOEventRef ref = loop.AddWriteEvent(fd[1], [&]() { in TEST()
116 write_event_ = loop.AddWriteEvent(fd_, [&]() { return WriteData(); }); in PrepareForIO()
120 IOEventRef IOEventLoop::AddWriteEvent(int fd, in AddWriteEvent() function in IOEventLoop