| ... | @@ -15791,7 +15791,7 @@ const parking_futex = struct { | ... | @@ -15791,7 +15791,7 @@ const parking_futex = struct { |
| 15791 | ); | 15791 | ); |
| 15792 | switch (old_status.cancelation) { | 15792 | switch (old_status.cancelation) { |
| 15793 | .parked => {}, // state updated to `.none` | 15793 | .parked => {}, // state updated to `.none` |
| 15794 | .none => unreachable, // if another `wake` call is unparking this thread, it should have removed it from the list | 15794 | .none => continue, // race with timeout; they are about to lock `bucket.mutex` and remove themselves from the bucket |
| 15795 | .canceling => continue, // race with a canceler who hasn't called `removeCanceledWaiter` yet | 15795 | .canceling => continue, // race with a canceler who hasn't called `removeCanceledWaiter` yet |
| 15796 | .canceled => unreachable, | 15796 | .canceled => unreachable, |
| 15797 | .blocked => unreachable, | 15797 | .blocked => unreachable, |