std :: thread
#include <std/thread.h> source
#include <std/thread.h>
#define THREAD_TIMEDOUT 1
Waits at most 'ms' milliseconds: 0 if woken, THREAD_TIMEDOUT if the time ran out, -1 on another error (the same codes on every platform).