1 #include <threads.h> 2 start_func(void * arg)3 static int start_func (void *arg) { 4 int iarg = *(int *)arg; 5 return iarg; 6 } 7 main(void)8 void main (void) { 9 thrd_t thr; 10 int arg = 1; 11 if (thrd_create(&thr, start_func, (void *)&arg) != thrd_success) { 12 ; 13 } 14 } 15