Better handling of waiter invalidation in `PriorityQueue`. (#419)
Add waiter invalidation to prevent abandoned waiters from accumulating in the `@waiting` heap when exceptions occur during dequeue operations. - Add `Waiter#invalidate!` method that nullifies fiber and condition. - Add `Waiter#valid?` method to check if waiter is still usable. - Add ensure block in dequeue to invalidate waiters on exceptions.
S
Samuel Williams committed
7f571e7d4ff78971c2700b0ad4b280d545c7a5a5
Parent: f75b823
Committed by GitHub <noreply@github.com>
on 9/5/2025, 11:23:33 PM