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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user