summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
authorrpj <rpj>2001-07-05 17:04:39 +0000
committerrpj <rpj>2001-07-05 17:04:39 +0000
commit7a3104dc65b469cbb9c88b6a9c7b7bea4126a43e (patch)
tree524cc0af0d3fa262c2412cdda269185059b33c33 /pthread.h
parentec27b9c8303540de6b5a8ebefee114f3cdd436f0 (diff)
Fixups to last commit.
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/pthread.h b/pthread.h
index f6d02fe..16e514d 100644
--- a/pthread.h
+++ b/pthread.h
@@ -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);