Email archive for list austin-group-l, item 8778
Date: Fri, 21 Oct 2005 08:48:06 -0700
From: Ulrich Drepper <yyyyyyy@xxxxxxxxxx>
To: yyyyy@xxxxxxxxxx
CC: The Austin Group, Dave Butenhof <yyyyyyyyyyyyyy@xxxxxx>
Subject: Re: Defect in XSH pthread_attr_setguardsize()
Mark Brown wrote:
> BTW: Does PTHREAD_STACK_MIN include the size of the guard page, or does=
> pthread_attr_setguardsize()'s description that "If a thread stack is
> created with guard protection, the implementation allocates extra memor=
y
> at the overflow end of the stack" mean the guard is counted separately?=
I'd say this is unspecified. In fact, my code uses parts of the stack
size if it is large enough and allocates more memory then specified by
the stacksize attribute if the stacksize isn't large enough.
--=20
=E2=9E=A7 Ulrich Drepper =E2=9E=A7 Red Hat, Inc. =E2=9E=A7 444 Castro St =
=E2=9E=A7 Mountain View, CA =E2=9D=96
#### MIME type "application/pgp-signature" not displayed ####
|