Re: Stack emptying



Lee wrote:
> Is there any method by which we could empty the stack,(pop the function
> call addresses and return addresses stored in it)? Can we atleast
> partially free the stack during program run time??
>
> Thanks
> Lee

You can subvert the normal ordering of function calls/returns using
setjmp/longjmp, take a look and see if that does what you want.

If not, perhaps you should look at system specific extensions
that manipulate things as you wish or go to a different language
(say, C++ and exceptions).

-David

.



Relevant Pages

  • Re: OT to all you haters
    ... i really do try but sometimes my fingers get ahead... ... but i will continue to make the effort, Lee ... empty line between her text and the quoted text. ... posting long enough that I remember 80% of the time to look up-top ...
    (rec.food.cooking)
  • Re: OT to all you haters
    ... Well, you know what, Lee... ... empty line between her text and the quoted text. ... posting long enough that I remember 80% of the time to look up-top ... notice it's you and skip to the bottom to read. ...
    (rec.food.cooking)
  • Re: OT to all you haters
    ... "Storrmmee" wrote in message ... seems i have a cat who MUST have attention just when i am finishing typing a post... ... Well, you know what, Lee... ... > empty line between her text and the quoted text. ...
    (rec.food.cooking)
  • Re: Newbie question
    ... The collection was empty when i was debugging it. ... diagnostics.Writeline was so i could see something in the debugger output ... Lee ... >> I'm trying to get a plain vanilla form post to work separate from the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Newbie question
    ... > The collection was empty when i was debugging it. ... >>> I'm trying to get a plain vanilla form post to work separate from the ... >>> Lee ...
    (microsoft.public.dotnet.framework.aspnet)