摘要 |
The invention concerns a method for executing tasks of a real-time application on a multitasking computer, comprising steps of: defining time windows, each associated with the execution of the processing of a task of the application, allocating, to each processing operation having a time window, a time quota (QA1, QA2, QA3, QB) and a time margin (MA1, MA2, MA3, MB), the time allocated to the processing operation by the time quota and the time margin being shorter than the duration of the time window of the processing operation, during the execution of the application, activating each processing operation at the start of the time window with which it is associated, on expiry of the time quota of one of the processing operations, activating an error mode if the execution of the processing operation has not been completed, and, if the error mode is active for one of the processing operations, executing an error handling operation for the processing operation, during the remaining time allocated to the processing operation by the time quota and the time margin. |