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);
41 void exit(int32_t *status);
48 bool join(int32_t *status);
57 static bool supportsThreads();
59 #include <rudiments/private/thread.h>