Partition: add a local idle_monitor
Make idle events per-partition, but leave Instance::EmitIdle() and its underlying idle_monitor which broadcasts idle events to all partitions.
This commit is contained in:
@@ -101,6 +101,10 @@ struct Instance final
|
||||
|
||||
std::unique_ptr<InputCacheManager> input_cache;
|
||||
|
||||
/**
|
||||
* Monitor for global idle events to be broadcasted to all
|
||||
* partitions.
|
||||
*/
|
||||
MaskMonitor idle_monitor;
|
||||
|
||||
#ifdef ENABLE_NEIGHBOR_PLUGINS
|
||||
|
||||
Reference in New Issue
Block a user