diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-09-23 06:13:18 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-09-23 06:13:18 +0000 |
commit | 6a8a852bcb7b70fdd2c7f43e2b5c6effa6f9a24e (patch) | |
tree | 4c92d84d812bff7db337149c9d56d29886686d50 /linuxthreads | |
parent | 5d78bb43349cbd51805bcf0682af08a45b9988b8 (diff) | |
download | glibc-6a8a852bcb7b70fdd2c7f43e2b5c6effa6f9a24e.tar glibc-6a8a852bcb7b70fdd2c7f43e2b5c6effa6f9a24e.tar.gz glibc-6a8a852bcb7b70fdd2c7f43e2b5c6effa6f9a24e.tar.bz2 glibc-6a8a852bcb7b70fdd2c7f43e2b5c6effa6f9a24e.zip |
Update.
2003-09-20 Alfred M. Szmidt <ams@kemisten.nu>
* sysdeps/generic/utmp_file.c (setutent_file, LOCK_FILE,
UNLOCK_FILE, setutent_file): Use fcntl_not_cancel instead of
__fcntl_nocancel.
Diffstat (limited to 'linuxthreads')
-rw-r--r-- | linuxthreads/ChangeLog | 5 | ||||
-rw-r--r-- | linuxthreads/attr.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index adbb233535..abd4a4fdd4 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,8 @@ +2003-09-18 H.J. Lu <hongjiu.lu@intel.com> + + * attr.c (__pthread_attr_init_2_1): Double __guardsize size + if NEED_SEPARATE_REGISTER_STACK is defined. + 2003-09-22 Philip Blundell <philb@gnu.org> * forward.c: Add _pthread_cleanup_push, _pthread_cleanup_pop. diff --git a/linuxthreads/attr.c b/linuxthreads/attr.c index 5bef26504e..56f6cba092 100644 --- a/linuxthreads/attr.c +++ b/linuxthreads/attr.c @@ -36,7 +36,11 @@ int __pthread_attr_init_2_1(pthread_attr_t *attr) attr->__schedparam.sched_priority = 0; attr->__inheritsched = PTHREAD_EXPLICIT_SCHED; attr->__scope = PTHREAD_SCOPE_SYSTEM; +#ifdef NEED_SEPARATE_REGISTER_STACK + attr->__guardsize = ps + ps; +#else attr->__guardsize = ps; +#endif attr->__stackaddr = NULL; attr->__stackaddr_set = 0; attr->__stacksize = STACK_SIZE - ps; |