new interfaces for timers; the implementation is not changed yet

This commit is contained in:
Martin Sustrik
2010-09-26 18:30:03 +02:00
parent be79a9fbc2
commit cf815e8c78
18 changed files with 48 additions and 42 deletions

View File

@@ -53,8 +53,8 @@ namespace zmq
void reset_pollin (handle_t handle_);
void set_pollout (handle_t handle_);
void reset_pollout (handle_t handle_);
void add_timer (struct i_poll_events *events_);
void cancel_timer (struct i_poll_events *events_);
void add_timer (int timeout_, struct i_poll_events *events_, int id_);
void cancel_timer (struct i_poll_events *events_, int id_);
int get_load ();
void start ();
void stop ();