Merge remote-tracking branch 'origin/topic/awelzel/3190-supervisor-eventmgr-shared-pipe-fix'

* origin/topic/awelzel/3190-supervisor-eventmgr-shared-pipe-fix:
  event: Reinitialize EventMgr's flare after fork() from stem

(cherry picked from commit 22fb445a7f)
This commit is contained in:
Arne Welzel 2023-10-24 19:35:20 +02:00 committed by Tim Wojtulewicz
parent 143f112a5c
commit 4d80668f1f
3 changed files with 17 additions and 0 deletions

View file

@ -118,6 +118,9 @@ public:
const char* Tag() override { return "EventManager"; }
void InitPostScript();
// Initialization to be done after a fork() happened.
void InitPostFork();
uint64_t num_events_queued = 0;
uint64_t num_events_dispatched = 0;