×

Method for synchronizing the dispatching of tasks among multitasking operating systems

  • US 5,319,782 A
  • Filed: 02/16/1993
  • Issued: 06/07/1994
  • Est. Priority Date: 01/31/1989
  • Status: Expired due to Term
First Claim
Patent Images

1. In system having a CPU including a first and a second multitasking operating system (OS), means responsive to data originating from one or more applications either executing with said first OS or externally on another CPU for invoking threads of function calls (FIG. 4D, StartThread) by the second OS, a method for synchronizing the dispatching of tasks from the first OS with counterpart threads dispatched from the second OS, said second OS including a plurality of of callable layered resources, comprising the steps by the second OS in nested iterative order of:

  • (a) enqueuing (FIG. 4B, EnqTie) each thread against each second OS resource, each second OS resource being named by a function call in said thread;

    (b) securing resource ownership (FIG. 4B, DeqTie) to each thread among those threads enqueued against any one of the second OS resources in step (a) by binding at least a first and a second thread to respective first and second resources upon the condition that;

    (1) the first or second threads occupy predetermined positions within the respective first and second resource queues (i.e. the initial thread in a FIFO queue), and(2) said first or second threads donot own any other resource;

    (c) enqueuing (FIG. 4C, EnqWork) the first and second threads against ones of a set of available tasks in a predetermined order as each thread satisfies step (b), binding (FIG. 4C, GetWork) a first one of the available tasks to an initial thread (i.e. first or second thread) among the threads enqueued against the tasks, and, executing (FIG. 4B, InvokeLayer) a predetermined one of the function calls of the initial thread by the bound first task; and

    (d) after execution in step (c), causing (FIG. 4B, DeqTie) the initial thread in step (c) to relinquish ownership of its resource, causing any next thread queued against said same resource and satisfying step (b) conditions (1) and (2) to become the owner of that resource and to be enqueued against tasks.

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