mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Merge branch 'master' into topic/jsiwek/improve_comm_loop
Conflicts: src/CMakeLists.txt src/FlowSrc.cc src/FlowSrc.h src/IOSource.h src/PktSrc.cc src/PktSrc.h src/iosource/Manager.cc
This commit is contained in:
commit
cf66bd8b69
111 changed files with 3532 additions and 1997 deletions
|
@ -11,7 +11,7 @@ Manager::Manager()
|
|||
did_process = true;
|
||||
next_beat = 0;
|
||||
terminating = false;
|
||||
idle = true;
|
||||
SetIdle(true);
|
||||
}
|
||||
|
||||
Manager::~Manager()
|
||||
|
@ -47,8 +47,8 @@ void Manager::Terminate()
|
|||
all_threads.clear();
|
||||
msg_threads.clear();
|
||||
|
||||
idle = true;
|
||||
closed = true;
|
||||
SetIdle(true);
|
||||
SetClosed(true);
|
||||
terminating = false;
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,7 @@ void Manager::AddThread(BasicThread* thread)
|
|||
{
|
||||
DBG_LOG(DBG_THREADING, "Adding thread %s ...", thread->Name());
|
||||
all_threads.push_back(thread);
|
||||
idle = false;
|
||||
SetIdle(false);
|
||||
}
|
||||
|
||||
void Manager::AddMsgThread(MsgThread* thread)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include <list>
|
||||
|
||||
#include "IOSource.h"
|
||||
#include "iosource/IOSource.h"
|
||||
|
||||
#include "BasicThread.h"
|
||||
#include "MsgThread.h"
|
||||
|
@ -21,7 +21,7 @@ namespace threading {
|
|||
* their outgoing message queue on a regular basis and feeds data sent into
|
||||
* the rest of Bro. It also triggers the regular heartbeats.
|
||||
*/
|
||||
class Manager : public IOSource
|
||||
class Manager : public iosource::IOSource
|
||||
{
|
||||
public:
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue