alexcrichton opened PR #5871 from fix-unpark-panic to main:
This commit fixes a panic in the
ParkingSpotimplementation where an
unparksignal may not get acknowledged when a waiter times out,
causing the waiter to remove itself from the internal map but panic
thinking that it missed an unpark signal.The fix in this commit is to consume unpark signals when a timeout
happens. This can lead to another possible race I've detailed in the
comments which I believe is allowed by the specification of park/unpark
in wasm.
abrown submitted PR review.
abrown submitted PR review.
abrown created PR review comment:
// getting unparked. For example:
alexcrichton updated PR #5871 from fix-unpark-panic to main.
alexcrichton has enabled auto merge for PR #5871.
alexcrichton merged PR #5871.
Last updated: Dec 13 2025 at 19:03 UTC