Message116225
| Author |
meador.inge |
| Recipients |
benjamin.peterson, eric.araujo, giampaolo.rodola, meador.inge, pitrou, skip.montanaro |
| Date |
2010年09月12日.18:49:35 |
| SpamBayes Score |
0.0012914117 |
| Marked as misclassified |
No |
| Message-id |
<1284317378.12.0.57246342785.issue9788@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I agree with Antoine's LIFO comment. Also, FWIW, the C standard library behaves in a LIFO manner as well (C99 spec - 7.20.4.3 clause 3):
"First, all functions registered by the atexit function are called, in the reverse order of their registration,253) except that a function is called after any previously registered functions that had already been called at the time it was registered. If, during the call to any such function, a call to the longjmp function is made that would terminate the call to the registered function, the behavior is undefined." |
|