Patent ID: 7559060

Claim:
A computer-accessible memory medium that stores program instructions for performing time-bounded execution of a program, wherein the program instructions are executable by a processor to perform: 1) initiating a timed program execution process, wherein the timed program execution process is configured to execute a program in a time-bounded manner; 2) initiating a timeout process, wherein the timeout process is configured to preempt the execution process to interrupt execution of the program; 3) configuring a timeout event, wherein the timeout event is an event indicating a timeout condition for the program; 4) the timed program execution process performing a time-bounded execution of the program, comprising: a) determining and storing a rollback state for the program; b) if the timeout event has not occurred, executing the program, wherein, during said executing, if the timeout event occurs, c) the timeout process setting the timed program execution process to the rollback state, and disabling the timeout event; and d) the timed program execution process resuming executing the program based on the rollback state with a timeout condition in preparation to perform a program exit procedure; and e) performing the program exit procedure, thereby terminating execution of the program; 5) disabling the timeout event; 6) terminating the timeout process; and 7) terminating the timed program execution process.