This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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] Fix linuxthreads with pthread_attr_setstack{,addr}


On Fri, Apr 30, 2004 at 05:14:50PM -0000, Wolfram Gloger wrote:
> Hello,
> 
> > POSIX says on pthread_join:
> > 
> > "For instance, after pthread_join() returns, any application-provided stack storage
> >  could be reclaimed."
> 
> Chapter and verse?  This sounds rather vague, too.
> 
> On comp.programming.threads, pthreads architect Dave Butenhof has
> claimed repeatedly that POSIX makes _no_ such guarantees, i.e. that
> strictly speaking you can _never_ free user-defined stack space..
> Eg.:
> 
> http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&oe=ISO-8859-1&selm=3A797AB3.A57D43E9%40compaq.com

It is in pthread_join's RATIONALE:
http://www.opengroup.org/onlinepubs/009695399/functions/pthread_join.html

	Jakub


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