D exit() function?
Sean Kelly
sean at f4.ca
Sun Mar 25 11:44:51 PDT 2007
Jarrett Billingsley wrote:
> I'm kind of dumbfounded. I can't find any kind of D-compatible exit()
> function in phobos. Using std.c.stdlib.exit will simply end the program,
> and module dtors/gc_term won't be called. There's nothing in std.thread
> either.
>
> Am I missing something? Or is this something that should probably be added
> to phobos?
It doesn't currently exist. However, "throw new Object" would
accomplish much the same thing.
Sean
More information about the Digitalmars-d-learn
mailing list