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
docs(tests): describe the parameter defect in the past tense
Three comments in `reentrant_service.rs` described the pre-fix implementation
in the present tense -- "`validate_and_apply` holds `on_set_callback.read()`
across the user callback" -- in a branch whose entire purpose is that it no
longer does. A reader arriving later would conclude the defect is still live.
Also states plainly what the recursive-`set_parameter` scenario detects.
Recursive `read()` on one thread succeeds unless a writer is queued between
the two acquisitions, and nothing in the test queues one, so against unfixed
source it is a coin flip rather than a detector -- which matches this PR's own
evidence, where only the re-registering case fired. It is a regression test
for the fixed behaviour; the re-registering case is the deterministic one.
Saying so stops the next reader trusting it as proof the defect existed.
0 commit comments