4 #ifndef RUDIMENTS_THREAD_H
5 #define RUDIMENTS_THREAD_H
7 #include <rudiments/private/threadincludes.h>
22 void setFunction(
void *(*
function)(
void *),
void *arg);
26 bool setStackSize(
size_t stacksize);
30 bool getStackSize(
size_t *stacksize);
40 void exit(int32_t status);
47 bool join(int32_t *status);
56 static bool supportsThreads();
58 #include <rudiments/private/thread.h>