summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
authorbje <bje>1998-07-13 15:14:19 +0000
committerbje <bje>1998-07-13 15:14:19 +0000
commitabdcb7b1675ff5ffc8189547b9b6f716aa5a231d (patch)
tree0daf86c1900570116721117507039cf27588bfe9 /pthread.h
parentc3c9f642be685377072f5ec7a316abb1962e5f95 (diff)
1998-07-14 Ben Elliston <bje@cygnus.com>
* pthread.h (pthread_attr_init): Add function prototype. (pthread_attr_destroy): Likewise. (pthread_attr_setstacksize): Likewise. (pthread_attr_getstacksize): Likewise. (pthread_attr_setstackaddr): Likewise. (pthread_attr_getstackaddr): Likewise.
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/pthread.h b/pthread.h
index f57bd7f..e2889d5 100644
--- a/pthread.h
+++ b/pthread.h
@@ -48,6 +48,24 @@ int pthread_equal(pthread_t t1, pthread_t t2);
int pthread_join(pthread_t thread, void ** valueptr);
+/* Functions for manipulating thread attribute objects. */
+
+int pthread_attr_init(pthread_attr_t *attr);
+
+int pthread_attr_destroy(pthread_attr_t *attr);
+
+int pthread_attr_setstacksize(pthread_attr_t *attr,
+ size_t stacksize);
+
+int pthread_attr_getstacksize(const pthread_attr_t *attr,
+ size_t *stacksize);
+
+int pthread_attr_setstackaddr(pthread_attr_t *attr,
+ void *stackaddr);
+
+int pthread_attr_getstackaddr(const pthread_attr_t *attr,
+ void **stackaddr);
+
/* Functions for manipulating cond. var. attribute objects. */
int pthread_condattr_init(pthread_condattr_t *attr);