From 7a3104dc65b469cbb9c88b6a9c7b7bea4126a43e Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 5 Jul 2001 17:04:39 +0000 Subject: Fixups to last commit. --- pthread.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pthread.h') 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); -- cgit v1.2.3