×

Hardware semaphores in a multi-processor environment

  • US 5,276,886 A
  • Filed: 10/11/1990
  • Issued: 01/04/1994
  • Est. Priority Date: 10/11/1990
  • Status: Expired due to Term
First Claim
Patent Images

1. In a multiprocessor computer system having at lest two processors, each processing having an associated memory and each processor being coupled to the other through an interface unit, the processors also sharing a resource, interface apparatus for maintaining and signaling an accessibility status of said shared resource, said interface apparatus comprising:

  • a hardware semaphore for said shared resource, the semaphore being one bit wide;

    hardware circuitry means for detecting when one of said processors attempts to write a value to the semaphore and for forcing the semaphore to said written value regardless of any previous value of the semaphore;

    hardware circuitry means for detecting when one of said processors attempts to read the semaphore, and for determining a status of the semaphore; and

    hardware circuitry means, coupled to said detecting and determining means, for returning a zero value and simultaneously resetting the semaphore to a one if the status is a zero, and for returning a one value if the status is a one, wherein a returned value of zero indicates that the shared resource is accessible.

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