Function tarantool_rust_module::fiber_cancel [] [src]

pub unsafe extern "C" fn fiber_cancel(f: *mut fiber)

Cancel the subject fiber. (set FIBER_IS_CANCELLED flag)

If target fiber's flag FIBER_IS_CANCELLABLE set, then it would be woken up (maybe prematurely). Then current fiber yields until the target fiber is dead (or is woken up by \sa fiber_wakeup).

\param f fiber to be cancelled