Function tarantool::fiber::wakeup

source ·
pub fn wakeup(id: FiberId) -> bool
Expand description

Wakeup the fiber with the given id.

Does NOT yield.

Returns false if the fiber was not found.

Returns true if the fiber was found and has been marked as ready to continue.

NOTE: If the current tarantool executable doesn’t support the required api (i.e. has_fiber_id returns false) this will use an inefficient implementation base on the lua api.