1998-05-01 Ulrich Drepper <drepper@cygnus.com>
* manager.c (pthread_free): Unmap guard before the stack.
Patch by Matthias Urlichs.
+1998-05-01 Ulrich Drepper <drepper@cygnus.com>
+
+ * manager.c (pthread_free): Unmap guard before the stack.
+ Patch by Matthias Urlichs.
+
1998-04-30 Ulrich Drepper <drepper@cygnus.com>
* manager.c (pthread_free): Detect already free child.
if (!th->p_userstack)
{
/* Free the stack and thread descriptor area */
- munmap((caddr_t) ((char *)(th+1) - STACK_SIZE), STACK_SIZE);
if (th->p_guardsize != 0)
munmap(th->p_guardaddr, th->p_guardsize);
+ munmap((caddr_t) ((char *)(th+1) - STACK_SIZE), STACK_SIZE);
}
}