Function in stdx_thread.h

x_thread_sleep_ms

Sleep the current thread for at least the given number of milliseconds.

void x_thread_sleep_ms(int ms);

Parameters

int ms
Duration in milliseconds.
Function in stdx_thread.h

x_thread_yield

Yield execution to allow other threads to run.

void x_thread_yield(void);