std1.0.0-beta-7 SafeC docs

std :: thread

Macro THREAD_TIMEDOUT

#include <std/thread.h> source

#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).