-
Problem report
-
Resolution: Won't fix
-
Trivial
-
None
-
4.0.0alpha1
-
UNIX
-
Sprint 27, Sprint 28, Sprint 29, Sprint 30, Sprint 31, Sprint 32, Sprint 33, Sprint 34, Sprint 35
-
0.5
It looks like init_cpu_collector() function which does many things including creation of mutex for collected CPU usage data is called by collector process. It leaves a (minuscule) chance that listener or active process may attempt to get CPU data before mutex is created and initialized leading to various unpleasant results.
Initialization of any shared resource should be done by main process. Before other processes start.