Closed zzxx-husky closed 7 years ago
If there's a concrete test case which can reproduce this problem, it's better.
@kygx-legend The problem could be easily reproduced in pyhusky, by submitting one job after another and the two jobs both need to use aggregator. In C++ Husky, I found it difficult to reproduce. @x@
@zzxx-husky I see.
Any problem for this PR?
@kygx-legend I forget to follow up. Should have no problem. I have also updated the names of the static variables.
LGTM then. Thanks!
Fix #284
Remove call_once. Use std::mutex for the initialization of aggregator factory and that that works properly for the second initialization.