mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-28 19:52:00 +01:00
timers properly implemented
This commit is contained in:
@@ -53,8 +53,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 ();
|
||||
|
||||
@@ -87,10 +85,6 @@ namespace zmq
|
||||
typedef std::vector <poll_entry_t*> retired_t;
|
||||
retired_t retired;
|
||||
|
||||
// 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