[PATCH] Fix linuxthreads with pthread_attr_setstack{,addr}
Wolfram Gloger
wmglo@dent.med.uni-muenchen.de
Fri Apr 30 17:14:00 GMT 2004
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
Regards,
Wolfram.
More information about the Libc-hacker
mailing list