You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 947fa83
Browse filesBrowse the repository at this point in the historyBrowse files
The stress test asserted that exactly four of forty concurrent contenders would
be rejected. That count depends on how many acquisitions exceed their timeout,
which is a property of the runner rather than of the lock, so a loaded Windows
leg produced fourteen and turned main intermittently red.
It now asserts the invariants its name claims and that hold regardless of
timing: at most one active holder at any moment, all forty contenders settling
cleanly, every acquired callback entering and exiting exactly once, the
guaranteed throwing holder still releasing, and both the manager state and the
lock sidecar left empty afterwards.
The child-process count of sixteen is kept deliberately: eight successful
children each emit exactly one enter and one exit, and a timing failure would
fail earlier rather than change that number.
0 commit comments