Commit volatile memory to persistent append-only log
0%
zeromq nonblocking
Posted onEdited on
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// Virtual interface to be exposed by object that want to be notified // about events on file descriptors. structi_poll_events { virtual ~i_poll_events () {} // Called by I/O thread when file descriptor is ready for reading. virtualvoidin_event()= 0; // Called by I/O thread when file descriptor is ready for writing. virtualvoidout_event()= 0; // Called when timer expires. virtualvoidtimer_event(int id_)= 0; };