setjmp/longjmp on mips/ultrix4

Ben Laurie ben at algroup.co.uk
Mon Oct 19 10:16:55 PDT 1998


Godmar Back wrote:
> 
>  Sounds like the Sparc/Linux problem where longjmp tests that you don't
> use it for "illicit" purposes. You'll probably have to end up writing
> your own setjmp/longjmp/context switch routine.

I had to do this for a version of Apache we were playing with - coz SCO
also stops you from pulling the wool over its eyes - I assume you are
doing a setjmp and then using a signal to sneak onto a different stack?

If so, you can just kludge one of them (the setjmp, I think) and the
rest work. I can dig out the code (probably) if anyone is interested.

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686| Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org/
and Technical Director|Email: ben at algroup.co.uk |
A.L. Digital Ltd,     |Apache-SSL author     http://www.apache-ssl.org/
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache/

WE'RE RECRUITING! http://www.aldigital.co.uk/


More information about the kaffe mailing list