Access Vialotation
BCS
ao at pathlink.com
Fri Feb 27 11:31:08 PST 2009
Reply to Jarrett,
> On Fri, Feb 27, 2009 at 9:01 AM, Qian Xu <quian.xu at stud.tu-ilmenau.de>
> wrote:
>
>> Hi All,
>>
>> Is there any way to keep program alive, when an AV takes place?
>>
> It's possible on Windows in D, but that's because Windows reports
> segfaults with the same mechanism that D uses for exceptions. Since
> Linux (and many other Posix systems) uses signals, it's probably very
> tricky to implement in a cross-platform manner.
>
you can have a posix signal handler throw an exception (I have done it and
had it work) but I have no idea if it is supported.
More information about the Digitalmars-d-learn
mailing list