Function tarantool::ffi::has_fiber_set_ctx
source · pub unsafe fn has_fiber_set_ctx() -> bool
Expand description
Check whether the current tarantool executable supports fiber_set_ctx api.
If this function returns false
using functions in
fiber_set_ctx
& fiber_get_ctx
may result in a panic.
Safety
This function is only safe to be called from the tx thread.