faster nonblocking io
Some checks failed
Docker Build & Publish / build (push) Failing after 1h24m16s

This commit is contained in:
Nicholas Orlowsky 2025-02-23 17:06:32 -05:00
parent 6c5feb8675
commit c07f3ebf81
8 changed files with 66 additions and 72 deletions

View file

@ -17,11 +17,10 @@ namespace anthracite::thread_mgr {
std::chrono::time_point<std::chrono::high_resolution_clock>& timestamp();
};
std::vector<int> _epoll_fds;
int _epoll_fd;
std::mutex _event_mtx;
std::condition_variable _event_cv;
std::queue<event> _events;
backends::file_backend _error_backend;
bool _nonblocking;
void worker_thread_loop(int threadno);
void listener_thread_loop(config::http_config& http_config);