* @brief Relinquish the processor voluntarily. * * This function causes the calling thread to yield the processor, allowing other threads * that are ready to run to execute. The thread will be placed back into the scheduler's * ready queue and may be rescheduled according to its priority and the system's scheduling policy. * * @return sysret_t Returns `0` on success. On failure, returns a ne
| 8812 | * explicitly determines it no longer needs the processor at the moment. |
| 8813 | */ |
| 8814 | sysret_t sys_sched_yield(void) |
| 8815 | { |
| 8816 | rt_thread_yield(); |
| 8817 | return 0; |
| 8818 | } |
| 8819 | |
| 8820 | /** |
| 8821 | * @brief Retrieve the scheduling parameters of a specific thread. |
nothing calls this directly
no test coverage detected