×

Method of executing concurrent tasks by a subsystem managed by a central processor

  • US 7,797,700 B2
  • Filed: 04/23/2004
  • Issued: 09/14/2010
  • Est. Priority Date: 04/24/2003
  • Status: Active Grant
First Claim
Patent Images

1. A method of processing a plurality of concurrent tasks by a subsystem managed by a central processor, the method comprising, for each task, the steps of:

  • writing by the central processor, the writing step including the sub-steps of;

    writing a current message of the task in a memory, the task being comprised of a plurality of successive messages including a first message, at least one intermediate message, and a last message, the current message being one of the successive messages of the task that is currently being processed, each of the intermediate messages of the task comprising at least one subtask parameter and a link to the next message of the task that indicates a time for processing the next message of the task, the next message being the next successive message of the task;

    determining if a counter is free for access based on a value of an access management semaphore that is associated with the counter;

    if the counter is free for access, changing the value of the access management semaphore so as to prohibit access by the subsystem to the counter, and;

    if the counter has a zero value, writing in the subsystem a link that indicates a time for processing the first message of the task by the subsystem, orif the counter has a non-zero value, writing in the subsystem a link to the next message of the task, this link to the next message of the task being included in the current message of the task written in the memory;

    incrementing the counter by a number representative of presence of the current message of the task in the memory; and

    changing the value of the access management semaphore so as to end the prohibition against the subsystem accessing the counter; and

    processing by the subsystem, the processing step including the sub-steps of;

    determining if the counter is free for access based on the value of the access management semaphore;

    if the counter is free for access, changing the value of the access management semaphore so as to prohibit access by the central processor to the counter;

    if the counter has a non-zero value, reading, from the current message, the link to the next message of the task and decrementing the counter;

    changing the value of the access management semaphore so as to end the prohibition against the central processor accessing the counter; and

    processing the subtask parameters of the next message of the task at the time for processing the next message of the task that is indicated in the link to the next message of the task, this link to the next message of the task being included in the current message of the task.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×