rt: name std::thread in the cache's test-only merge wait
wait_while_merge_held (cfg test with m2v_gpu or m2v_cpu_icd) called thread::sleep without std::thread in scope, so rt's lib tests failed to compile under both device cfgs (E0433), as core's landing check m3-max-46232 showed. Host builds never compile the item, so the host gate stayed green. Verified: compile check of rt's tests under --cfg m2v_gpu and --cfg m2v_cpu_icd (the pd job named in the landing report).
This commit is contained in:
1 parent
aeed1fe9e1
commit
1262e7ae7c
1 file changed
+1
-1
@@ -942,7 +942,7 @@ impl Caches {
|
||||
}
|
||||
self.merge_waiting.store(true, Release);
|
||||
while self.merge_held.load(Acquire) {
|
||||
thread::sleep(Duration::from_millis(1));
|
||||
std::thread::sleep(Duration::from_millis(1));
|
||||
}
|
||||
self.merge_waiting.store(false, Release);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user