mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
Make TimerMgr an IOSource
- This allows the loop to check what the next timeout is and use that as the basis for the timeout of the poll - This commit also removes the TimerMgr::Tag type, since it causes a name clash with other code in IOSource
This commit is contained in:
parent
4fa3e4b9b4
commit
92bde61b78
7 changed files with 101 additions and 39 deletions
|
@ -321,7 +321,7 @@ protected:
|
|||
bool key_valid;
|
||||
|
||||
// Timer manager to use for this conn (or nil).
|
||||
TimerMgr::Tag* conn_timer_mgr;
|
||||
std::string* conn_timer_mgr;
|
||||
timer_list timers;
|
||||
|
||||
IPAddr orig_addr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue