bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Deep Nesting


From: Blake McBride
Subject: Re: [Bug-apl] Deep Nesting
Date: Sun, 23 Aug 2015 06:49:46 -0500

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]