Nick Ing-Simmons <nik@tiuk.ti.com> writes: >>Solaris/sparc >>$ jmp >>Loop overhead: 22 ns/iter >>setjmp(jb): 32 ns/call >>sigsetjmp(sjb, 0): 11795 ns/call >>sigsetjmp(sjb, 1): 11856 ns/call > >Many thanks. > >It was a thought ... - more #if-ery will be required. Perhaps not. The attached patch makes Linux work on the original die-out-of signal handler with basic setjmp(). So I _think_ we can just use setjmp() everywhere. The only area of worry is if there is some machine which has working sigsetjmp() but no sigprocmask(). So when it makes it to a snapshot I would appreciate testing on "older" or "awkward" platforms. I will try and cook up a non-interactive test... -- Nick Ing-SimmonsThread Previous | Thread Next