trying setjmp or throwing from signal handler crashes on OSX
timotheecour
thelastmammoth at gmail.com
Sat Sep 1 17:37:20 PDT 2012
Is there any way to get setjmp to work in a D program on OSX?
I just get a segfault whenever it is called.
I'm just trying to recover from a signal handler.
Related questions:
why is signal handler nothrow?
I saw this related thread but it seems linux only:
http://www.deadalnix.me/2012/03/24/get-an-exception-from-a-segfault-on-linux-x86-and-x86_64-using-some-black-magic/
with code:
http://www.deadalnix.me/wp-content/uploads/2012/03/sigsegv.d.txt
More information about the Digitalmars-d-learn
mailing list