]> git.netwichtig.de Git - user/henk/code/inspircd.git/commit - include/timer.h
Timer changes and TimerManager enhancements
authorattilamolnar <attilamolnar@hush.com>
Tue, 9 Apr 2013 21:51:06 +0000 (23:51 +0200)
committerattilamolnar <attilamolnar@hush.com>
Sun, 21 Apr 2013 16:00:09 +0000 (18:00 +0200)
commit1638ee61936bc91758be39c3463c6e46d0d655e7
tree3ad0357587a58bc3845cb3a328bf3e95fadf2923
parente9e75e50bc25e67af22dd88b39b12217a553d5cb
Timer changes and TimerManager enhancements

Timer::Tick() now has a bool return value: if false is returned the timer is deleted using operator delete, otherwise, if it's a repeating timer then it's rescheduled (readded)
Timers are removed from the TimerManager automatically at destruction

Timers are now stored in a multimap instead of a sorted vector
include/inspsocket.h
include/timer.h
src/dns.cpp
src/inspsocket.cpp
src/modules/extra/m_pgsql.cpp
src/modules/m_spanningtree/cachetimer.cpp
src/modules/m_spanningtree/cachetimer.h
src/modules/m_spanningtree/main.cpp
src/timer.cpp