This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: PPC32 and state of the project
- From: Ulrich Drepper <drepper at redhat dot com>
- To: "Kevin.Hendricks" <kevin dot hendricks at sympatico dot ca>
- Cc: Steve Munroe <sjmunroe at us dot ibm dot com>, Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>, GNU libc devel <libc-alpha at sources dot redhat dot com>
- Date: Mon, 06 Jan 2003 09:42:02 -0800
- Subject: Re: PPC32 and state of the project
- Organization: Red Hat, Inc.
- References: <AB804894-2197-11D7-BB04-0030654D6A26@sympatico.ca>
Kevin.Hendricks wrote:
> Why not save the thread id register when doing a setjmp/longjmp pair?
> It should never change across a setjmp, longjmp pair should it?
Correct. A thread is a thread. If you use longjmp or swapcontext
mustn't change this. Whatever is used as the thread register, it must
always be preserved.
--
--------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------