added some pthread_* and pthread_attr_* naive functions

I mapped pthread_t to thread_id for simplicity


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17879 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2006-06-20 11:05:58 +00:00
parent 3a44e6e37d
commit a23efdfa79
5 changed files with 161 additions and 1 deletions
+2 -1
View File
@@ -5,8 +5,9 @@
#define _PTHREAD_H_
#include <time.h>
#include <OS.h>
typedef struct _pthread *pthread_t;
typedef thread_id pthread_t;
typedef struct _pthread_attr *pthread_attr_t;
typedef struct _pthread_mutex *pthread_mutex_t;
typedef struct _pthread_mutexattr *pthread_mutexattr_t;