Function tarantool::ffi::has_fiber_id

source ·
pub unsafe fn has_fiber_id() -> bool
Expand description

Check whether the current tarantool executable supports the fiber_find, fiber_set_name_n, fiber_id, fiber_csw, fiber_name ffi apis.

If this function returns false then the corrsponding apis (e.g. setting fiber name) will use the less efficient implementation based on the lua interface.

Safety

This function is only safe to be called from the tx thread.