Searched refs:fdevent_context (Results 1 – 4 of 4) sorted by relevance
63 fdevent* fdevent_context::Create(unique_fd fd, std::variant<fd_func, fd_func2> func, void* arg) { in Create()89 unique_fd fdevent_context::Destroy(fdevent* fde) { in Destroy()105 void fdevent_context::Add(fdevent* fde, unsigned events) { in Add()110 void fdevent_context::Del(fdevent* fde, unsigned events) { in Del()115 void fdevent_context::SetTimeout(fdevent* fde, std::optional<std::chrono::milliseconds> timeout) { in SetTimeout()121 std::optional<std::chrono::milliseconds> fdevent_context::CalculatePollDuration() { in CalculatePollDuration()147 void fdevent_context::HandleEvents(const std::vector<fdevent_event>& events) { in HandleEvents()154 void fdevent_context::FlushRunQueue() { in FlushRunQueue()171 void fdevent_context::CheckMainThread() { in CheckMainThread()177 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 {