Patent ID: 8458707

Claim:
A computer-implemented method comprising: receiving an external data request from a first thread, the external data request corresponding to cache line data stored in a cache line, wherein the external data request corresponds to a condition, the condition indicating whether an operation needed by the first thread has been performed; identifying that the cache line data corresponding to the external data request indicates that the condition is not true; switching to a second thread in response to the identifying; receiving a lock line reservation lost event in response to the switching, wherein the lock line reservation lost event corresponds to the external data request received from the first thread; determining whether to switch from the second thread to the first thread in response to the lock line reservation lost event, wherein the determining further comprises: requesting a lock line reservation, wherein the lock line reservation instructs a cache bus interface controller to provide the cache line data; receiving the cache line data from the cache bus interface controller in response to the lock line reservation request; and analyzing the received cache line data to decide whether the condition is true, wherein the analyzing further comprises reading the received cache line data, and wherein the determining is based upon the read cache line data; and switching to the first thread in response to the determining.