bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Deep Nesting


From: Elias Mårtenson
Subject: Re: [Bug-apl] Deep Nesting
Date: Sun, 23 Aug 2015 20:00:01 +0800

That's easily solved using some well-placed #ifdefs.

Regards,
Elias

On 23 Aug 2015 19:49, "Blake McBride" <address@hidden> wrote:
On Sun, Aug 23, 2015 at 3:53 AM, Elias Mårtenson <address@hidden> wrote:
Normally you'd mark page on the stack as a redzone, triggering a segmentation fault when an attempt is made to access it. The signal handler can then determine that the redzone was reached, and throw the appropriate error when it happens.

That way you don't have to check the stack size on every call.


I'd rather get strange errors when I exceed the stack size then do anything not portable C++.

--blake

 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]