×

INTERPROCESS COMMUNICATION USING A SINGLE SEMAPHORE

  • US 20120185875A1
  • Filed: 03/28/2012
  • Published: 07/19/2012
  • Est. Priority Date: 07/16/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method for enabling communication between a plurality of processes, the method comprising:

  • initiating a plurality of processes, the plurality of processes comprising both attachment processes and target processes;

    creating and initializing a single semaphore for use by the plurality of processes, such that each of the target processes are initially blocked by the semaphore;

    writing, by an attachment process, a message file to a location accessible by the target processes and identifying a specific target process;

    incrementing the semaphore by the number of target processes, thereby unblocking the target processes and allowing them to check the message file;

    establishing a connection between the attachment process and the specific target process identified in the message file; and

    decrementing the semaphore to zero, thereby blocking the target processes.

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