The invention relates to a method in a hardware semaphore lock (L1 LN) intended for a multi-processor system, which semaphore lock (L1 LN) protects a shared resource (R1 RN) in connection with the system in such a way that only a process which has reserved the semaphore lock (L1 LN) and has thus become a holder of the lock, has access to use the resource protected by the lock. The semaphore lock (L1 LN) is reserved by a single read operation of a memory location representing the semaphore lock by the process software. The read operation returns to the process the number of vacant holder positions, i.e. keyholes vacant at the time of the reservation of the lock. The semaphore lock does not require the support of the system for atomic read/write operations.

 
Web www.patentalert.com

< Method and system for tracking computer hardware and software assets by allocating and tagging the asset with an asset tag barcode having a software distribution system (SDS) number and verifying the asset tag barcode upon entry of the asset at a destination site

< Method and system for providing a location of a data interface

> Device for error recognition in a digital signal evaluation unit

> Method and apparatus for reducing overhead in a data processing system with a cache

~ 00269