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:
Anees Iqbal committed 2026-11-18 05:49:13 -08:00
1 parent aeed1fe9e1
commit 1262e7ae7c
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}