mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Threading changes for the new loop architecture
- threading::Manager is no longer an IOSource. - threading::MsgThread is now an IOSource. This allows threads themselves to signal when they have data to process instead of continually checking each of the threads on every loop pass. - Make the thread heartbeat timer an actual timer and let it fire as necessary instead of checking to see if it should fire
This commit is contained in:
parent
a159d075cf
commit
8b9160fb7e
6 changed files with 141 additions and 66 deletions
|
@ -43,6 +43,7 @@ const char* TimerNames[] = {
|
|||
"TriggerTimer",
|
||||
"ParentProcessIDCheck",
|
||||
"TimerMgrExpireTimer",
|
||||
"ThreadHeartbeat",
|
||||
};
|
||||
|
||||
const char* timer_type_to_string(TimerType type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue