This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Document GLIBC_PTHREAD_DEFAULT_STACKSIZE environmentvariable


On Fri, Mar 01, 2013 at 08:17:58AM -0500, Carlos O'Donell wrote:
> `If the size is less than the minimum required POSIX stack size i.e.
>  @code{PTHREAD_STACK_MIN}, then it is ignored and the minimum stack size is used.'
> 
> `If @code{GLIBC_PTHREAD_DEFAULT_STACKZIE} is not set, and @code{RLIMIT_STACK}
>  is set to a value other than @code{RLIM_INFINITY}, then @code{RLIMIT_STACK} is
>  used as the default thread stack size, otherwise an implementation dependent
>  stack size is used.'
> 
> What do you think about that last paragraph which helps clarify some of the
> defaults in the event the env-var is not set?

Looks good.  I'll add it before I commit (which will be after you
review the latest iteration of my thread_local patch).

Siddhesh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]