A computer system dynamically scales back latch requests for system
resources. Tasks seeking access to system resources each dynamically
determine the probability that the task will gain access to the latch
relating to a given system resource. Where the task estimates that its
probability is below a defined threshold, the task will suspend itself
for a defined sleep time. The task dynamically adjusts the length of the
sleep time based on the number of times the task enters the suspended
state and on the relative changes in the estimated probability that the
task will gain access to the resource.