mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
instrumentation: Avoid busy-wait on postBuild hook
This commit is contained in:
@@ -528,6 +528,7 @@ int cmInstrumentation::SpawnBuildDaemon()
|
||||
int cmInstrumentation::CollectTimingAfterBuild(int ppid)
|
||||
{
|
||||
while (0 == uv_kill(ppid, 0)) {
|
||||
cmSystemTools::Delay(100);
|
||||
};
|
||||
return this->CollectTimingData(cmInstrumentationQuery::Hook::PostBuild);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user