-
Konstantin Osipov authored
Everything is cancellable. In fiber_cancel() use fiber_wakeup() instead of a direct call. This make cancel safe with regards to wakeup() and timeouts: i.e. it's safe to cancel a fiber which is waiting on a timeout or is about to get scheduled.
Konstantin Osipov authoredEverything is cancellable. In fiber_cancel() use fiber_wakeup() instead of a direct call. This make cancel safe with regards to wakeup() and timeouts: i.e. it's safe to cancel a fiber which is waiting on a timeout or is about to get scheduled.