Patent ID: 7930401
Filing Date: 2011-04-19
Classification: H04L

Abstract:
1. A method for accessing a shared resource in a data processing system, comprising: monitoring an activity of an entity granted access to the shared resource, wherein a plurality of entities have been granted access to the shared resource, and wherein a maximum number of granted accesses is allowed concurrently to the shared resource; releasing the access granted to the entity in response to an inactivity monitor reaching a first threshold indicative of a non-activity of the entity; detecting a critical condition of the shared resource, the detecting including receiving a request for accessing the shared resource from another entity after reaching the maximum number of accesses; releasing the access granted to the entity in response to the critical condition when the inactivity indicator of the entity reaches a second threshold lower than the first threshold; determining an estimated waiting indicator by: and setting at least one of the first threshold and the second threshold according to the estimated waiting indicator.