Efficient timer mechanism for multi-threaded systems
AssigneeDell Products L.P.
InventorVitaly Alexandrovsky
Life of this patent
Estimating the term…
Loading patent…
AssigneeDell Products L.P.
InventorVitaly Alexandrovsky
Estimating the term…
An apparatus in an illustrative embodiment comprises a processing device configured to implement a timer for controlling requests for delayed execution of functions in accordance with respective delay times, with the timer comprising a cyclic array of request queues, each configured to hold one or more of the requests, and a polling thread for polling the request queues to identify, for each of a plurality of polling intervals, a particular one of the requests to be processed from its corresponding one of the request queues. The processing device is further configured, responsive to receipt of a given one of the requests, to compute an array index for the given request based at least in part on an expiration time of the given request and an initialization time of the timer, and to assign the given request to a particular one of the request queues in accordance with the array index.
An apparatus comprising:
A computer program product comprising a non-transitory processor-readable storage medium having stored therein program code of one or more software programs, wherein the program code when executed by at least one processing device comprising a processor coupled to a memory, causes the at least one processing device:
A method comprising:
Dependencies are inferred from the claim text.