Throw stack trace from program kill

Steven Schveighoffer schveiguy at gmail.com
Sun Jan 16 18:43:13 UTC 2022


On 1/16/22 1:42 PM, Steven Schveighoffer wrote:

> This too is not going to be a good idea. writeln(e.info) is going to 
> possibly start allocating. A signal can come at any time, even when 
> locks are held or things are in an intermediate state.

That being said, if this is being used for debugging, there's no harm in 
trying it, and seeing what happens. I just wouldn't count on it normally 
in production to do the right thing.

-Steve


More information about the Digitalmars-d-learn mailing list