catching segfault using try_ catch

Paul Backus snarwin at gmail.com
Sun Jul 11 21:15:30 UTC 2021


On Sunday, 11 July 2021 at 20:18:18 UTC, seany wrote:
> Is it possible to catch a segfault - using try/catch loop?
> Thank you

I know it's possible on Linux using the `etc.linux.memoryerror` 
module [1]. Not sure about Windows.

[1] https://druntime.dpldocs.info/etc.linux.memoryerror.html


More information about the Digitalmars-d-learn mailing list