[PATCH] Fix linuxthreads with pthread_attr_setstack{,addr}

Jakub Jelinek jakub@redhat.com
Sat May 1 09:38:00 GMT 2004


On Fri, Apr 30, 2004 at 06:04:17PM -0000, Wolfram Gloger wrote:
> Hi,
> 
> > It is in pthread_join's RATIONALE:
> > http://www.opengroup.org/onlinepubs/009695399/functions/pthread_join.html
> 
> Interesting.  AFAIC remember, this has changed from when I looked at
> it in 2001.  Although only in the "informative" section, I would
> actually welcome such a guarantee, and think we should make it
> possible to free application stacks after a return from
> pthread_join().

Actually, the yesterday released TC2 clarifies user defined stacks
and indeed a conforming application cannot free ever user defined stack
once it has been used successfully in some pthread_create or SIGEV_THREAD
notification. 2.9.8 is new in TC2:
http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_09.html#tag_02_09_08

	Jakub



More information about the Libc-hacker mailing list