I use similar exception handling using setjmp
/longjmp
and I have thread-local storage. For every new thread I call initialisation function that malloc's local jmpbuf for the thread.
NB! I never properly tested it in multithreading environment!
qrdl
2009-03-24 07:59:48