D daemon & GC?

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Aug 30 12:33:04 PDT 2014


On Sat, 30 Aug 2014 19:20:44 +0000
Israel via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
wrote:

> > Or is there a safe D exit()?
> I always wondered why D doesnt have this.
the "idiomatic" way is to throw an exception which can be catched in
main() (and then we can `return 1` from main() or something like it). or
not catch anything and runtime will terminate the program.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140830/d18985b0/attachment.sig>


More information about the Digitalmars-d-learn mailing list