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
This functionality can be implemented without a sync.Cond using channels and timers and a select, but I believe a sync.Cond would be more efficient and succinct.
I would like to block on a condition variable, but give up when a timeout/deadline is reached. I.e.:
This functionality can be implemented without a
sync.Cond
using channels and timers and aselect
, but I believe async.Cond
would be more efficient and succinct.FYI: #21165
The text was updated successfully, but these errors were encountered: