diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:04:53 +0900 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:04:53 +0900 |
commit | aaa766acf7596eb4de7afe6ae0121335f4fd05da (patch) | |
tree | affa1fdb70ba90ae9893d452dea13776faeb6ff4 /src/poller_base.hpp | |
parent | 71744dc8ef9b59a342b03f7ba2c3699f5ccb862a (diff) |
cancel_timer function renamed to rm_timer
This is more consistent with adjacent add_fd and rm_fd functions.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/poller_base.hpp')
-rw-r--r-- | src/poller_base.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/poller_base.hpp b/src/poller_base.hpp index 4822e0e..15e03a6 100644 --- a/src/poller_base.hpp +++ b/src/poller_base.hpp @@ -78,7 +78,7 @@ namespace xs void add_timer (int timeout_, xs::i_poll_events *sink_, int id_); // Cancel the timer created by sink_ object with ID equal to id_. - void cancel_timer (xs::i_poll_events *sink_, int id_); + void rm_timer (xs::i_poll_events *sink_, int id_); protected: |