merge
[c11tester.git] / include / mypthread.h
1 /**
2  * @file pthread.h
3  * @brief C11 pthread.h interface header
4  */
5 #ifndef PTHREAD_H
6 #define PTHREAD_H
7
8 #include <threads.h>
9 #include <sched.h>
10 #include <pthread.h>
11
12 typedef void *(*pthread_start_t)(void *);
13
14 struct pthread_params {
15         pthread_start_t func;
16         void *arg;
17 };
18
19 extern "C" {
20 int user_main(int, char**);
21 }
22
23 #endif