Patent ID: 9244738
Filing Date: 2016-01-26
CPC Classification: G06F

Claim Text:
1. A computer-implemented method, comprising: requesting, by a first thread on a computer system, exclusive access to a first resource for updating the first resource to perform a first task, wherein the request for the exclusive access is conditional on the first resource not currently being held exclusively; receiving an indication of availability of the first resource; and executing, by a computer processor, one of a first action and a second action responsive to the indication, the executing comprising performing the first action if the indication indicates that the first resource is currently being held shared and performing the second action if the indication indicates that the first resource is being held exclusively; wherein the first action performed if the first resource is currently being held shared comprises waiting, by the first thread, until exclusive access to the first resource is available; and wherein the second action performed if the first resource is currently being held exclusively comprises: