bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thread creation and stack allocation


From: Igor Khavkine
Subject: Re: Thread creation and stack allocation
Date: Mon, 2 Jul 2001 01:37:59 -0400
User-agent: Mutt/1.3.18i

On Sun, Jul 01, 2001 at 08:27:17PM -0400, Igor Khavkine wrote:
>
> In this case, should the creation of the "red zone" be the programmer's
> responsibility, or is there a way to create it with the library?
> 
> It is also possible that I'm misinterpreting the standard, if so, please
> let me know.

I've looked further in the standard and found the functions
pthread_attr_{get,set}guardsize(). These control the size of the
"red zone" or guard zone at the end of the stack. However the
documentation is moot and does not specify whether the guard area
is part of STACKSIZE set by the user with ptread_attr_{get,set}stacksize().

Clarifications, are more then welcome.

Igor



reply via email to

[Prev in Thread] Current Thread [Next in Thread]