×

Method using semaphores for synchronizing communication between programs or processes resident in a computer system

  • US 5,313,638 A
  • Filed: 03/24/1992
  • Issued: 05/17/1994
  • Est. Priority Date: 03/24/1992
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a computer system having an operating system which supports shared memory and semaphores, a computer-implemented method for communicating a message from one program to another program both resident in the computer system including the following steps:

  • at one of said programs having a message to send to the other;

    requesting a message semaphore from the operating system;

    upon receiving the message semaphore from the operating system placing the message in a predetermined slot in the shared memory;

    thereafter requesting a queue semaphore from the operating system;

    upon receiving the queue semaphore from the operating system adding an indicia of the location of the said predetermined slot in the said shared memory in a queue located in the said shared memory; and

    ,thereafter clearing the message and queue semaphores requested from the operating system and a wakeup semaphore which has been previously set by the other program whereby the other program is, upon the clearing of the wakeup semaphore, enabled to access the message in the predetermined slot in the shared memory.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×