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
I bet select() needs a similar change. It will probably have to accumulate destructors for each pipe that it marks itself as blocked on. Or use task::unkillable (maybe also task::rekillable but probably not), and just one destructor to do all of the post-blocked work. I expect the latter will be a lot easier.
I claim the assert at the end here should not trip, yet it does.
Output: (note: only the first three lines are nondeterministic)
This is relevant for mutexes/cvars, exhibited here: https://github.com/mozilla/rust/blob/incoming/src/libcore/sync.rs#L490
I believe the fix should be in
fn try_recv
; somewhere in the loop, it should use a flagged destructor.The text was updated successfully, but these errors were encountered: