diff options
author | alfred <alfred@FreeBSD.org> | 2003-02-10 08:48:04 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2003-02-10 08:48:04 +0000 |
commit | 6a79467bbde44ba077bc5179639dd9dc5565c929 (patch) | |
tree | 9cfde8705da32bc1df807d3472d6599f73e66326 /include | |
parent | e5970c99a38ac699e97b1ca31f86489f31066f81 (diff) | |
download | FreeBSD-src-6a79467bbde44ba077bc5179639dd9dc5565c929.zip FreeBSD-src-6a79467bbde44ba077bc5179639dd9dc5565c929.tar.gz |
Add pthread_attr_getstack() and pthread_attr_setstack().
Submitted by: Craig Rodrigues <rodrigc@attbi.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/pthread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/pthread.h b/include/pthread.h index 83f36e4..647e702 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -190,6 +190,9 @@ enum pthread_mutextype { */ __BEGIN_DECLS int pthread_attr_destroy(pthread_attr_t *); +int pthread_attr_getstack(const pthread_attr_t * __restrict, + void ** __restrict stackaddr, + size_t * __restrict stacksize); int pthread_attr_getstacksize(const pthread_attr_t *, size_t *); int pthread_attr_getguardsize(const pthread_attr_t *, size_t *); int pthread_attr_getstackaddr(const pthread_attr_t *, void **); @@ -197,6 +200,7 @@ int pthread_attr_getdetachstate(const pthread_attr_t *, int *); int pthread_attr_init(pthread_attr_t *); int pthread_attr_setstacksize(pthread_attr_t *, size_t); int pthread_attr_setguardsize(pthread_attr_t *, size_t); +int pthread_attr_setstack(pthread_attr_t *, void *, size_t); int pthread_attr_setstackaddr(pthread_attr_t *, void *); int pthread_attr_setdetachstate(pthread_attr_t *, int); void pthread_cleanup_pop(int); |