Patent ID: 7644213
Filing Date: 2010-01-05
Classification: G06F

Abstract:
1. A method for controlling access to a limited-access resource, comprising: creating a plurality of semaphores associated with the resource, each semaphore corresponding to a different access request priority level, the plurality of semaphores comprising i) a high priority semaphore that, alone, controls access to the resource, and ii) at least one lower priority semaphore that only gates low priority access requests into the high priority semaphore; receiving an access request for access to the resource from a client process; determining a priority level associated with the access request; if the semaphore corresponding to the priority level associated with the access request is available, allowing the access request to obtain the semaphore corresponding to the priority level associated with the access request; if the semaphore corresponding to the priority level associated with the access request is not available, suspending the access request; monitoring availability of each of the plurality of semaphores; when any of the plurality of semaphores becomes available, allowing a suspended access request waiting for the available semaphore to obtain the available semaphore.