summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
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);