Can I circumvent nothrow?
Damian Day via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Apr 26 18:39:53 PDT 2014
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..
More information about the Digitalmars-d-learn
mailing list