diff options
author | rpj <rpj> | 2001-07-05 17:04:39 +0000 |
---|---|---|
committer | rpj <rpj> | 2001-07-05 17:04:39 +0000 |
commit | 7a3104dc65b469cbb9c88b6a9c7b7bea4126a43e (patch) | |
tree | 524cc0af0d3fa262c2412cdda269185059b33c33 /pthread.h | |
parent | ec27b9c8303540de6b5a8ebefee114f3cdd436f0 (diff) |
Fixups to last commit.
Diffstat (limited to 'pthread.h')
-rw-r--r-- | pthread.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -361,8 +361,9 @@ typedef struct pthread_condattr_t_ *pthread_condattr_t; #endif typedef struct pthread_rwlock_t_ *pthread_rwlock_t; typedef struct pthread_rwlockattr_t_ *pthread_rwlockattr_t; -typedef struct pthread_spinlock_t_ pthread_spinlock_t; +typedef struct pthread_spinlock_t_ *pthread_spinlock_t; typedef struct pthread_barrier_t_ *pthread_barrier_t; +typedef struct pthread_barrierattr_t_ *pthread_barrierattr_t; /* * ==================== @@ -810,7 +811,7 @@ int pthread_mutex_unlock (pthread_mutex_t * mutex); /* * Spinlock Functions */ -int pthread_spin_init (pthread_spinlock_t * lock); +int pthread_spin_init (pthread_spinlock_t * lock, int pshared); int pthread_spin_destroy (pthread_spinlock_t * lock); |