This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/linuxthreads manager.c
- To: glibc-cvs at sourceware dot cygnus dot com
- Subject: libc/linuxthreads manager.c
- From: drepper at sourceware dot cygnus dot com
- Date: 15 Jul 2000 19:01:25 -0000
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.cygnus.com 2000-07-15 12:01:25
Modified files:
linuxthreads : manager.c
Log message:
Fix the problem with signals at startup.
Change the way that thread stacks are allocated on IA64.
Clean up some of the guard page allocation stuff.
(pthread_allocate_stack): Make sure guardaddr is page aligned with
page_roundup if NEED_SEPARATE_REGISTER_STACK is define.
(pthread_allocate_stack): Unmap the stack top if failed to map the
stack bottom. Fix the guard page.
(pthread_free): Fix the guard page.
(pthread_allocate_stack): Correct the calculation of
"new_thread_bottom". Remove MAP_GROWSDOWN from mmap for stack bottom.
(pthread_allocate_stack): Make the starting address of the stack
bottom page aligned. FIXME: it may need changes in other places.
(pthread_handle_create): Likewise.
(pthread_allocate_stack): Handle NEED_SEPARATE_REGISTER_STACK.