Herbert Euler wrote: > But I can only call longjmp with a global jmp_buf, since > this function is called with no arguments.
Here is a 4th way to solve this: Write an obstack_alloc_failed_handler that throws a C++ exception, and have a catcher for this exception installed in each thread. Bruno
