If I have the following call sequence

C code -> Haskell code -> various C code bits

where the various C code bits on the right might do a longjmp (their version 
of an exception) and jumping back to the C code on the left.

Is it possible to have C code on the left then somehow tell GHC to cleanup the 
aborted Haskell code/resume executing it with an exception, or is the only 
option to setjmp wrap all the various C code bits on the right?

Thanks!  -Tyson

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to