×

Dual level scheduling of processes to multiple parallel regions of a multi-threaded program on a tightly coupled multiprocessor computer system

  • US 5,339,415 A
  • Filed: 11/09/1992
  • Issued: 08/16/1994
  • Est. Priority Date: 06/11/1990
  • Status: Expired due to Term
First Claim
Patent Images

1. In an operating system having a plurality of shared storage resources accessible by a plurality of processors for running a multithreaded program, a two level scheduling method of executing said multithreaded program, comprising the steps of:

  • (a) assigning program threads of said multithreaded program to processes;

    (b) storing in a first shared storage resource context for executing said processes corresponding to said program threads;

    (c) queuing in a second shared storage resource a value representing the number of said program threads in said multithreaded program to be executed;

    (d) determining that a processor is available to execute a process having context stored in said first shared storage resource; and

    (e) scheduling said processes for execution by said processors, comprising the steps of;

    scanning by said available processor a queue in said second shared storage resource to respond to a positive value in said second shared storage resource;

    decrementing said second shared storage resource value using said available processor; and

    accessing contents of said first shared storage resource corresponding to said scan for initiating execution, using said available processor, of a process associated with accessed context.

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