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
Currently the AtomicBools are on the Selector and cloned in a call to Selector::try_clone, but are not synchronised any more. So you can try_clone the Registry and register a second Waker.
The text was updated successfully, but these errors were encountered:
I'm going to address this after #1687 is merged as that also has the same issue. I think the easiest solution is to use an Arc<AtomicBool> to ensure the state is shared. Since it's debug only I don't think the overhead of the Arc matters.
Initially discovered here: #1687 (comment).
Currently the
AtomicBools
are on theSelector
and cloned in a call toSelector::try_clone
, but are not synchronised any more. So you cantry_clone
theRegistry
and register a secondWaker
.The text was updated successfully, but these errors were encountered: