*/
#include <stdio.h>
+#include <threads.h>
+#include <stdatomic.h>
-#include "libthreads.h"
#include "librace.h"
-#include "stdatomic.h"
atomic_int x;
int var = 0;
atomic_store_explicit(&x, 22, memory_order_relaxed);
}
-void user_main()
+int user_main(int argc, char **argv)
{
thrd_t t1, t2, t5;
int i = 4;
thrd_join(t1);
thrd_join(t2);
thrd_join(t5);
+
+ return 0;
}