diff options
| author | kurrutako <kurrutako@users.noreply.github.com> | 2026-11-25 17:01:00 +0100 |
|---|---|---|
| committer | kurrutako <kurrutako@users.noreply.github.com> | 2026-11-25 17:01:00 +0100 |
| commit | a26b12760e6bef631949076261e21dba53f141db (patch) | |
| tree | 3f3edaa209263ed334e716957fcaecb111d568df /runtime/src/main.cpp | |
| parent | 27a861adc904fb42af043aafb99ddf2fbd9a0322 (diff) | |
d3d12: the exit save writes the finished pipelines while a build runs, on a bounded thread (RT-SESSION-CACHE-AT-EXIT)
A 1,308 s boot ended in a title fault with 2 builds still running, and the
exit save kept the old file, so the run's pipelines were lost again. At
exit there is no later moment to wait for: after wait_ms the cache is
written with the pipelines finished so far (it is not created
EXTERNALLY_SYNCHRONIZED, so reading it during a build is valid). The write
runs on its own thread and is given 3 s, so a driver that blocks the read
cannot hold the ending process; the file is published by a rename, so a
write cut off leaves the previous one whole.
AI-assisted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions