unwind_protect (!body, !protected_body)
The result of evaluating the protected_body code. If an error occurs then this function does not return.
This function ensures that a piece of code will be evaluated, even if an error occurs within the body code. This is typically used when an error might occur but cleanup code has to be evaluated even in the event of an error. The error condition will not be cleared by this function. If an error occurs then control will be passed to the innermost trap_error function or to the outer level error handler immediately after the protected_body is evaluated.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.