diff options
author | bje <bje> | 1998-07-13 15:14:19 +0000 |
---|---|---|
committer | bje <bje> | 1998-07-13 15:14:19 +0000 |
commit | abdcb7b1675ff5ffc8189547b9b6f716aa5a231d (patch) | |
tree | 0daf86c1900570116721117507039cf27588bfe9 | |
parent | c3c9f642be685377072f5ec7a316abb1962e5f95 (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.
-rw-r--r-- | pthread.h | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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); |