faster nonblocking io
Some checks failed
Docker Build & Publish / build (push) Failing after 1h24m16s
Some checks failed
Docker Build & Publish / build (push) Failing after 1h24m16s
This commit is contained in:
parent
6c5feb8675
commit
c07f3ebf81
8 changed files with 66 additions and 72 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue