C that setjmps -> haskell -> C that might longjmp
twhitehead at gmail.com
Mon Mar 1 12:06:27 EST 2010
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20100301/4d5a8afe/attachment.bin
More information about the Glasgow-haskell-users