PPC32 and state of the project
Ulrich Drepper
drepper@redhat.com
Mon Jan 6 17:42:00 GMT 2003
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 `---------------------------
More information about the Libc-alpha
mailing list