×

Hierarchical queuing in a system architecture for improved message passing and process synchronization

  • US 5,555,396 A
  • Filed: 12/22/1994
  • Issued: 09/10/1996
  • Est. Priority Date: 12/22/1994
  • Status: Expired due to Term
First Claim
Patent Images

1. In a system having a plurality of processes controlled by a computer operating system, the system including at least one instruction processor coupled to a main storage unit, units of data storage residing in the main storage unit called queue banks, each queue bank being capable of representing a queue header element or a queue entry element of a queue, each queue including one queue header and zero or more queue entries, a queue being the mechanism by which processes can communicate with each other and containing attributes describing its use, a queue entry being used for storing message data, the computer operating system having a function for creating a primary queue in response to a request from a first process, a system for providing inter-process communication without copying message data or requiring computer operating system action comprising:

  • (a) local queue creation means for creating a local queue in the main storage unit, said local queue being accessible only to the first process creating said local queue, said local queue having a queue header and at least one queue entry, and for storing a plurality of multi-word messages to be transferred from the first process to a second process into said at least one queue entry;

    (b) enqueue means for adding said queue header of said local queue as a queue entry to a primary queue without performing a data copy of said plurality of multi-word messages and without requiring actions to be taken by the computer operating system, in response to an enqueue request from the first process; and

    (c) dequeue means for removing said queue header of said local queue from said primary queue in response m a dequeue request from said second process, whereby access is provided to said plurality of multi-word messages stored in said at least one queue entry of said local queue to said second process, without performing a data copy of said plurality of multi-word messages and without requiring actions to be taken by the computer operating system, and wherein said second process gains concurrent access to said plurality of multi-word messages.

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