So I have this procedure: extern (C) void signal_proc(int sn) @system nothrow Which can call this: shutdown_system() @system nothrow
Problem I have is inside "shutdown_system()" I have code that can't possibly be @nothrow because their are a lot of subsystems to shutdown.
What I've done for now is just strip the @nothrow attribute of the C function in
core.stdc.signal. It feels very hackish but it works..