removed struct _pthread* forward declarations, they're not needed
added some more posix definitions, though they might be never used in Haiku git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17184 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
+2
-13
@@ -6,19 +6,6 @@
|
||||
|
||||
#include <time.h>
|
||||
|
||||
struct _pthread;
|
||||
struct _pthread_attr;
|
||||
struct _pthread_cond;
|
||||
struct _pthread_cond_attr;
|
||||
struct _pthread_mutex;
|
||||
struct _pthread_mutexattr;
|
||||
struct _pthread_once;
|
||||
struct _pthread_rwlock;
|
||||
struct _pthread_rwlockattr;
|
||||
struct _pthread_barrier;
|
||||
struct _pthread_barrier_attr;
|
||||
struct _pthread_spinlock;
|
||||
|
||||
typedef struct _pthread *pthread_t;
|
||||
typedef struct _pthread_attr *pthread_attr_t;
|
||||
typedef struct _pthread_mutex *pthread_mutex_t;
|
||||
@@ -137,6 +124,8 @@ extern void pthread_exit(void *value_ptr);
|
||||
extern int pthread_join(pthread_t thread, void **value_ptr);
|
||||
extern pthread_t pthread_self(void);
|
||||
|
||||
extern int pthread_kill(pthread_t thread, int sig);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user