Searched refs:fdevent_context (Results 1 – 4 of 4) sorted by relevance
60 fdevent* fdevent_context::Create(unique_fd fd, std::variant<fd_func, fd_func2> func, void* arg) { in Create()86 unique_fd fdevent_context::Destroy(fdevent* fde) { in Destroy()102 void fdevent_context::Add(fdevent* fde, unsigned events) { in Add()107 void fdevent_context::Del(fdevent* fde, unsigned events) { in Del()112 void fdevent_context::SetTimeout(fdevent* fde, std::optional<std::chrono::milliseconds> timeout) { in SetTimeout()118 std::optional<std::chrono::milliseconds> fdevent_context::CalculatePollDuration() { in CalculatePollDuration()144 void fdevent_context::HandleEvents(const std::vector<fdevent_event>& events) { in HandleEvents()151 void fdevent_context::FlushRunQueue() { in FlushRunQueue()168 void fdevent_context::CheckMainThread() { in CheckMainThread()174 void fdevent_context::Run(std::function<void()> fn) { in Run()[all …]
35 struct fdevent_context_epoll final : public fdevent_context {
69 struct fdevent_context { struct71 virtual ~fdevent_context() = default;
47 struct fdevent_context_poll final : public fdevent_context {