Patent ID: 8239829

Claim:
A method for managing data in a real-time computer system, comprising: providing a real-time program in the real-time computer system comprising one or more real-time components and subcomponents; providing a non-real-time program in a non-real-time computer system for use as a co-routine with the real-time program in the real-time computer system, the non-real-time program comprising one or more non-real-time data management components and subcomponents; providing a context-swapping software component of the real-time computer system to switch contexts between a real-time software component of the real-time program and a non-real-time software component of the non-real-time program; identifying sensitive non-real-time subcomponents of each non-real-time data management software component which cannot be used as subcomponents of the real-time program; replacing the sensitive non-real-time subcomponents with real-time environment protection subcomponents for use as a subcomponent of the real-time program; and executing the real-time program in a real-time environment; and wherein during execution of the real-time program, the real-time program yields to the non-real-time program and the context-swapping software component enables execution of the non-real-time program in the real-time program environment wherein replacing the sensitive non-real-time subcomponents with real-time environment protection subcomponents comprises using a callback table to replace each sensitive non-real-time subcomponent with a real-time environment protection subcomponent.