128 |
7u83 |
1 |
struct pthread;
|
|
|
2 |
struct pthread_attr;
|
|
|
3 |
struct pthread_cond;
|
|
|
4 |
struct pthread_cond_attr;
|
|
|
5 |
struct pthread_mutex;
|
|
|
6 |
struct pthread_mutex_attr;
|
|
|
7 |
struct pthread_once;
|
|
|
8 |
struct pthread_rwlock;
|
|
|
9 |
struct pthread_rwlockattr;
|
|
|
10 |
struct pthread_barrier;
|
|
|
11 |
struct pthread_barrier_attr;
|
|
|
12 |
struct pthread_spinlock;
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
typedef struct pthread *pthread_t;
|
|
|
16 |
typedef struct pthread_attr *pthread_attr_t;
|
|
|
17 |
typedef struct pthread_mutex *pthread_mutex_t;
|
|
|
18 |
typedef struct pthread_mutex_attr *pthread_mutexattr_t;
|
|
|
19 |
typedef struct pthread_cond *pthread_cond_t;
|
|
|
20 |
typedef struct pthread_cond_attr *pthread_condattr_t;
|
|
|
21 |
typedef int pthread_key_t;
|
|
|
22 |
typedef struct pthread_once pthread_once_t;
|
|
|
23 |
typedef struct pthread_rwlock *pthread_rwlock_t;
|
|
|
24 |
typedef struct pthread_rwlockattr *pthread_rwlockattr_t;
|
|
|
25 |
typedef struct pthread_barrier *pthread_barrier_t;
|
|
|
26 |
typedef struct pthread_barrierattr *pthread_barrierattr_t;
|
|
|
27 |
typedef struct pthread_spinlock *pthread_spinlock_t;
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
int pthread_create(pthread_t * __restrict,
|
|
|
34 |
const pthread_attr_t *, void *(*) (void *),
|
|
|
35 |
void * );
|
|
|
36 |
|