[][src]Function cmsis_rtos2::cmsis_os2::osThreadFlagsSet

pub unsafe extern "C" fn osThreadFlagsSet(
    thread_id: osThreadId_t,
    flags: u32
) -> u32

Set the specified Thread Flags of a thread. \param[in] thread_id thread ID obtained by \ref osThreadNew or \ref osThreadGetId. \param[in] flags specifies the flags of the thread that shall be set. \return thread flags after setting or error code if highest bit set.