diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-12-08 14:44:06 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-12-08 14:44:06 +0000 |
commit | f8afe40f49bd9189c70188f222962c8c83187664 (patch) | |
tree | 63742434ba6cfaf60e4416443c032bfb29e6f818 /newlib/libc/include/sys | |
parent | 51ecb7d9af3587709e7b21427a64a437ad7cb82d (diff) | |
download | cygnal-f8afe40f49bd9189c70188f222962c8c83187664.tar.gz cygnal-f8afe40f49bd9189c70188f222962c8c83187664.tar.bz2 cygnal-f8afe40f49bd9189c70188f222962c8c83187664.zip |
* include/sys/types.h: Add #if defined(__rtems__) around
pthread_attr_t.guardsize.
* include/pthread.h: Add pthread_attr_setstack, pthread_attr_getstack,
pthread_attr_getguardsize, pthread_attr_setguardsize.
* include/sys/types.h (pthread_attr_t): Add guardsize.
Diffstat (limited to 'newlib/libc/include/sys')
-rw-r--r-- | newlib/libc/include/sys/types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h index 17f9306ac..70835735d 100644 --- a/newlib/libc/include/sys/types.h +++ b/newlib/libc/include/sys/types.h @@ -353,6 +353,9 @@ typedef struct { int inheritsched; int schedpolicy; struct sched_param schedparam; +#if defined(__rtems__) + size_t guardsize; +#endif /* P1003.4b/D8, p. 54 adds cputime_clock_allowed attribute. */ #if defined(_POSIX_THREAD_CPUTIME) |