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.

  • exit(1)? Shriramana Sharma via Digitalmars-d-learn
    • Re: exit(1)? Jakob Ovrum via Digitalmars-d-learn
      • Re: exit(1)? Jacob Carlborg via Digitalmars-d-learn
        • Re: exit(1)? Jakob Ovrum via Digitalmars-d-learn
      • Re: exit(1)? Shriramana Sharma via Digitalmars-d-learn

Reply via email to