Conditional access with timeout
First Claim
1. A method for responding to memory requests, comprising:
- receiving a first memory load request by a conditional load with time out (CLT) device at a first time, the first memory load request specifying a first condition and a first memory address;
performing a first determination of whether the first condition is satisfied;
starting a timer at the CLT device to determine a wait period when the first condition is not satisfied;
responding to the first memory load request with a reply, wherein the reply indicates that the first condition is not satisfied when the duration of the wait period exceeds a time-out threshold; and
when the first condition is not satisfied;
receiving a first memory store request by the CLT device at a second time subsequent to the first time and prior to the wait period exceeding the time-out threshold, the first memory store request specifying the first memory address and a value;
storing the value at the first memory address;
performing a second determination of whether the first condition is satisfied; and
responding to the first memory load request with a reply, wherein the reply indicates that the first condition is satisfied when the second determination is that the first condition is satisfied.
1 Assignment
0 Petitions
Accused Products
Abstract
A method can include receiving a first memory load request by a conditional load with time out (CLT) device at a first time. The first memory load request can specify a first condition. A first determination of whether the first condition is satisfied is performed. The CLT device determines a wait period when the first condition is not satisfied. A reply is issued. The reply indicates that the first condition is satisfied when the first condition is satisfied. The reply indicates that the first condition is not satisfied when the duration of the wait period exceeds a time-out threshold. When the first condition is not satisfied, a first memory store request can be received during the wait period and a second determination of whether the first condition satisfied performed. The reply indicates that the first condition is satisfied when the second determination is that the first condition is satisfied.
-
Citations
17 Claims
-
1. A method for responding to memory requests, comprising:
-
receiving a first memory load request by a conditional load with time out (CLT) device at a first time, the first memory load request specifying a first condition and a first memory address; performing a first determination of whether the first condition is satisfied; starting a timer at the CLT device to determine a wait period when the first condition is not satisfied; responding to the first memory load request with a reply, wherein the reply indicates that the first condition is not satisfied when the duration of the wait period exceeds a time-out threshold; and when the first condition is not satisfied; receiving a first memory store request by the CLT device at a second time subsequent to the first time and prior to the wait period exceeding the time-out threshold, the first memory store request specifying the first memory address and a value; storing the value at the first memory address; performing a second determination of whether the first condition is satisfied; and responding to the first memory load request with a reply, wherein the reply indicates that the first condition is satisfied when the second determination is that the first condition is satisfied. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A conditional load with time out (CLT) device for responding to memory requests, comprising:
-
a timer; a memory to store a pending memory load request; and a logic circuit to; receive a first memory load request at a first time, the first memory load request specifying a first condition and a first memory address; perform a first determination of whether the first condition is satisfied; start a timer to determine a wait period when the first condition is not satisfied; respond to the first memory load request with a reply, wherein the reply indicates that the first condition is not satisfied when the duration of the wait period exceeds a time-out threshold; and when the first condition is not satisfied; receive a first memory store request at a second time subsequent to the first time and prior to the wait period exceeding the time-out threshold, the first memory store request specifying the first memory address and a value; store the value at the first memory address; perform a second determination of whether the first condition is satisfied; and respond to the first memory load request with a reply, wherein the reply indicates that the first condition is satisfied when the second determination is that the first condition is satisfied. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A computer program product for responding to memory requests, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a conditional load with time out (CLT) device to cause the CLT device to perform a method comprising:
-
receiving a first memory load request by the CLT device at a first time, the first memory load request specifying a first condition and a first memory address; performing a first determination of whether the first condition is satisfied; starting a timer at the CLT device to determine a wait period when the first condition is not satisfied; responding to the first memory load request with a reply, wherein the reply indicates that the first condition is not satisfied when the duration of the wait period exceeds a time-out threshold; and when the first condition is not satisfied; receiving a first memory store request by the CLT device at a second time subsequent to the first time and prior to the wait period exceeding the time-out threshold, the first memory store request specifying the first memory address and a value; storing the value at the first memory address; performing a second determination of whether the first condition is satisfied; and responding to the first memory load request with a reply, wherein the reply indicates that the first condition is satisfied when the second determination is that the first condition is satisfied. - View Dependent Claims (16, 17)
-
Specification