Re: Comparison with False - something I don't understand
- From: Paul Rubin <no.email@xxxxxxxxxxxxxx>
- Date: Thu, 02 Dec 2010 11:04:07 -0800
Tim Harig <usernet@xxxxxxxxxx> writes:
longjmp. Alternatively you can have an auxiliary stack of cleanup
records that the longjmp handler walks through. Of course if you do
Only if you already have pointers to *all* of the data structures at
the point where you put your setjmp().
The setjmp point only has to know where the aux stack is and its depth
when the longjmp happens. The cleanup records contain any necessary
pointers to data structures that need freeing. That is basically how
try/finally would do it too. This is pretty standard stuff.
.
- Follow-Ups:
- Re: Comparison with False - something I don't understand
- From: Tim Harig
- Re: Comparison with False - something I don't understand
- References:
- Re: Comparison with False - something I don't understand
- From: Harishankar
- Re: Comparison with False - something I don't understand
- From: Tim Harig
- Re: Comparison with False - something I don't understand
- From: Harishankar
- Re: Comparison with False - something I don't understand
- From: Tim Harig
- Re: Comparison with False - something I don't understand
- From: MRAB
- Re: Comparison with False - something I don't understand
- From: Paul Rubin
- Re: Comparison with False - something I don't understand
- From: Tim Harig
- Re: Comparison with False - something I don't understand
- From: Paul Rubin
- Re: Comparison with False - something I don't understand
- From: Tim Harig
- Re: Comparison with False - something I don't understand
- Prev by Date: aggregation for a nested dict
- Next by Date: Re: Comparison with False - something I don't understand
- Previous by thread: Re: Comparison with False - something I don't understand
- Next by thread: Re: Comparison with False - something I don't understand
- Index(es):
Relevant Pages
|