mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Remove timeouts from remote communication loop.
The select() now blocks until there's work to do instead of relying on a small timeout value which can cause unproductive use of cpu cycles.
This commit is contained in:
parent
73cc81f44a
commit
675fba3fde
21 changed files with 364 additions and 58 deletions
|
@ -355,7 +355,8 @@ public:
|
|||
EventPlayer(const char* file);
|
||||
virtual ~EventPlayer();
|
||||
|
||||
virtual void GetFds(int* read, int* write, int* except);
|
||||
virtual void GetFds(std::vector<int>* read, std::vector<int>* write,
|
||||
std::vector<int>* except);
|
||||
virtual double NextTimestamp(double* local_network_time);
|
||||
virtual void Process();
|
||||
virtual const char* Tag() { return "EventPlayer"; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue