Improved administering of shared resources in a computer system. In a
preferred embodiment, transaction throughput is improved and potential
starvation eliminated by a ticket mechanism. The ticket mechanism
provides a wait counter and a service counter. When a requested
transaction fails, a wait counter is incremented and a wait value is sent
to the requesting transaction source. As transactions are completed at
the resource, the service counter is incremented and its value broadcast
to transaction sources sharing that resource. When a source holds a wait
count value that equals the service count value, the source can retry the
transaction successfully.