upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorjaybeebabageyus <jaybeebabageyus@users.noreply.github.com>2026-11-22 21:02:58 +0100
committerjaybeebabageyus <jaybeebabageyus@users.noreply.github.com>2026-11-22 21:02:58 +0100
commit4edfb2418d51ca40cdb086214cd4ffe95fce27ac (patch)
treee1e214ec674c803e4174a4e0b665a768e9a406c1 /runtime/src/main.cpp
parent50e9dd32fa8d9ebb6ba22e559ca62fa95920b88d (diff)
runtime: make the purge-ownership test deterministic
The dead-owner case relied on the spawned child's PID staying free until the sweep ran, which is not guaranteed on a busy machine; a reused PID turned the check into a SKIP. The deletable stand-in now uses this process's own PID instead: the sweep runs before this process has created any clone, so a file named with the current PID is always a leftover of a dead run there, and the live-PID and handle-held skip cases keep their own deterministic stand-ins.
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions