does dmd --build=profile-gc work with core.stdc.stdlib.exit()?

mw mingwu at gmail.com
Sun Nov 13 18:51:17 UTC 2022


On Sunday, 13 November 2022 at 18:48:42 UTC, mw wrote:
> BTW, can --build=profile-gc can intercept "Ctrl+C" and generate 
> *partial* report file?
>
> And what's the suggested proper way to do early exit, and still 
> let --build=profile-gc generate reports?

I tried presss "Ctrl+C", and that cannot stop the program, it 
just hangs there.

I have to `kill -9 <pid>` it to get it stopped.


More information about the Digitalmars-d-learn mailing list