Searched hist:106904 (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.2-release/lib/libc/ia64/gen/
H A D_setjmp.Sdiff 106904 Thu Nov 14 06:40:23 MST 2002 marcel o Fix _longjmp() to return 1 when the return value is given as 0.
o Remove the unwanted smartness in _longjmp() where it compares
the current ar.bspstore with the saved ar.bspstore and restores
ar.rnat based on it. This either avoids saving ar.rnat in the
jmp_buf or is the consequence of not saving ar.rnat. All this
complexity breaks libc_r where we use longjmp() to switch to
different threads and the current ar.bspstore has no relation
to the saved ar.bspstore. Thus: we save ar.rnat in setjmp()
and simply restore ar.bspstore and ar.rnat in longjmp().

This code needs a cleanup.

Completed in 41 milliseconds