mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
Fixing a rotation race condition at termination.
Noticed with DS, but could just as well happen with ASCII.
This commit is contained in:
parent
99db264775
commit
5dae925f67
3 changed files with 20 additions and 0 deletions
|
@ -77,6 +77,12 @@ public:
|
|||
*/
|
||||
int NumThreads() const { return all_threads.size(); }
|
||||
|
||||
/** Manually triggers processing of any thread input. This can be useful
|
||||
* if the main thread is waiting for a specific message from a child.
|
||||
* Usually, though, one should avoid using it.
|
||||
*/
|
||||
void ForceProcessing() { Process(); }
|
||||
|
||||
protected:
|
||||
friend class BasicThread;
|
||||
friend class MsgThread;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue