From fcffe39c2af8374e7c994dac0b6bc0719c6a561f Mon Sep 17 00:00:00 2001
From: bje <bje>
Date: Sun, 12 Jul 1998 15:07:03 +0000
Subject: 1998-07-13  Ben Elliston  <bje@cygnus.com>

	* pthread.h (pthread_condattr_t): Define this type.
	(pthread_condattr_init): Likewise.
	(pthread_condattr_destroy): Likewise.
	(pthread_condattr_setpshared): Likewise.
	(pthread_condattr_getpshared): Likewise.
---
 pthread.h | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/pthread.h b/pthread.h
index 37cb9f8..4d399f0 100644
--- a/pthread.h
+++ b/pthread.h
@@ -27,6 +27,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 typedef HANDLE pthread_t;
 typedef HANDLE pthread_mutex_t;
+
+typedef struct { void * ptr; } pthread_condattr_t;
 typedef struct { void * ptr; } pthread_mutexattr_t;
 
 #ifdef __cplusplus
@@ -46,6 +48,18 @@ int pthread_equal(pthread_t t1, pthread_t t2);
 
 int pthread_join(pthread_t thread, void ** valueptr);
 
+/* Functions for manipulating cond. var. attribute objects. */
+
+int pthread_condattr_init(pthread_condattr_t *attr);
+
+int pthread_condatr_setpshared(pthread_condattr_t *attr,
+			       int pshared);
+
+int pthread_condattr_getpshared(pthread_condattr_t *attr,
+				int *pshared);
+
+int pthread_condattr_destroy(pthread_condattr_t *attr);
+
 /* Functions for manipulating mutex attribute objects. */
 
 int pthread_mutexattr_init(pthread_mutexattr_t *attr);
-- 
cgit v1.2.3