Function tarantool::fiber::set_name_of

source ·
pub fn set_name_of(id: FiberId, name: &str) -> bool
Expand description

Sets the name of the fiber with the given id. Returns false if the fiber wasn’t found, true otherwise.

NOTE: if has_fiber_id returns false this function uses an inefficient implementation based on the lua api.