Motr
M0
|
Data Fields | |
struct m0_net_transfer_mc * | t_ma |
struct m0_thread | t_poller |
int | t_epollfd |
bool | t_shutdown |
struct m0_tl | t_deathrow |
struct m0_tl | t_done |
struct m0_net_transfer_mc* t_ma |
struct m0_thread t_poller |
Poller thread.
All asynchronous activity happens in this thread:
- notifications about incoming connections; - notifications about possibility of non-blocking socket io; - buffer completion events (ma_buf_done()); - buffer timeouts (ma_buf_timeout()); - freeing socket structures (ma_prune());
Poller can easily be adapter to be a "chore" in a locality.