pub unsafe extern "C" fn k_float_disable(thread: *mut k_thread) -> i32
Expand description
@brief Disable preservation of floating point context information.
This routine informs the kernel that the specified thread will no longer be using the floating point registers.
@warning Some architectures apply restrictions on how the disabling of floating point preservation may be requested, see arch_float_disable.
@warning This routine should only be used to disable floating point support for a thread that currently has such support enabled.
@param thread ID of thread.
@retval 0 On success. @retval -ENOTSUP If the floating point disabling is not implemented. -EINVAL If the floating point disabling could not be performed.