projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Eliminate system context
[c11tester.git]
/
include
/
mypthread.h
diff --git
a/include/mypthread.h
b/include/mypthread.h
index 4b2b615f61f9b1c0bcd0f64311e1edacd05824e1..a781c401c01cd49d025dfd8fac079a6b93ae63b9 100644
(file)
--- a/
include/mypthread.h
+++ b/
include/mypthread.h
@@
-9,6
+9,15
@@
#include <sched.h>
#include <pthread.h>
+/* pthread mutex types
+ enum
+ {
+ PTHREAD_MUTEX_NORMAL
+ PTHREAD_MUTEX_RECURSIVE
+ PTHREAD_MUTEX_ERRORCHECK
+ PTHREAD_MUTEX_DEFAULT
+ };*/
+
typedef void *(*pthread_start_t)(void *);
struct pthread_params {