exit(1)?
Jakob Ovrum via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Dec 17 00:52:01 PST 2015
On Thursday, 17 December 2015 at 07:33:36 UTC, Jacob Carlborg
wrote:
> I agree with that, but why don't the runtime register a
> function with "atexit" that cleans up everything?
I think it might be possible, but it doesn't sound trivial. In
particular, all threads and fibers managed by druntime need to
have their stacks rewinded.
More information about the Digitalmars-d-learn
mailing list