mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 12:18:04 +01:00
timers properly implemented
This commit is contained in:
@@ -51,8 +51,6 @@ namespace zmq
|
||||
void reset_pollin (handle_t handle_);
|
||||
void set_pollout (handle_t handle_);
|
||||
void reset_pollout (handle_t handle_);
|
||||
void add_timer (int timeout_, struct i_poll_events *events_, int id_);
|
||||
void cancel_timer (struct i_poll_events *events_, int id_);
|
||||
void start ();
|
||||
void stop ();
|
||||
|
||||
@@ -83,10 +81,6 @@ namespace zmq
|
||||
// Pollset manipulation function.
|
||||
void devpoll_ctl (fd_t fd_, short events_);
|
||||
|
||||
// List of all the engines waiting for the timer event.
|
||||
typedef std::vector <struct i_poll_events*> timers_t;
|
||||
timers_t timers;
|
||||
|
||||
// If true, thread is in the process of shutting down.
|
||||
bool stopping;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user