Patent ID: 7555775

Claim:
A computing system comprising a trusted region of computer executable instructions that calls into an untrusted region of computer executable instructions to implement resource recovery from the untrusted region so as to enable continued execution of computer instructions in the trusted region without encountering potential inconsistencies introduced by recovering the resource from the untrusted region, the computing system comprising: a processor for processing computer-executable instructions; a trusted region of computer-executable instructions; an untrusted region of computer-executable instructions; and memory having stored therein computer-executable instructions for implementing a method comprising: wrapping one or more untrusted region entry points with exception logic for processing one or more exceptions that may be raised within the untrusted region; testing whether an exception has been raised within the untrusted region, and if not executing one or more computer executable instructions of the untrusted region that correspond to a specific entry point; blocking one or more resources from entering the untrusted region once an exception is raised in the untrusted region; storing a time element that indicates at least approximately how long the one or more computer executable instructions of the untrusted region that correspond to the specific entry point execute; setting a threshold execution time for the time element; and monitoring the time element at least periodically to determine if the threshold execution time for the time element has been reached.