Wake-up ordering of processing streams using sequential identifiers
First Claim
Patent Images
1. A method comprising:
- assigning identifiers of a sequence of identifiers to wakeup signals and to processing streams, the sequence of identifiers representing a chronological order that the wakeup signals are initiated and the processing streams begin waiting, wherein each of the identifiers is exclusively assigned to either a wakeup signal or a processing stream and the sequence of identifiers comprises a first identifier associated with a wakeup signal and a second identifier associated with a processing stream in a waiting state;
receiving the wakeup signal associated with the first identifier after the processing stream associated with the second identifier enters the waiting state;
responsive to the receiving the wakeup signal, comparing, by a processing device, the first identifier associated with the wakeup signal and the second identifier associated with the processing stream to determine that the processing stream began waiting after an initiation of the wakeup signal; and
responsive to the comparing, waking at least one of the processing streams and avoiding waking the processing stream associated with the second identifier that began waiting during a time delay between the initiation of the wakeup signal and the receiving of the wakeup signal.
1 Assignment
0 Petitions
Accused Products
Abstract
Systems and methods for waking up waiting processing streams in a manner that reduces the number of spurious wakeups. An example method may comprise: assigning a first identifier of a sequence of identifiers to a processing stream in a waiting state; receiving a wakeup signal associated with a second identifier of the sequence of identifiers; comparing, by a processing device, the first identifier with the second identifier; and waking the processing stream responsive to determining, in view of comparing, that the processing stream began waiting prior to an initiation of the wakeup signal.
11 Citations
19 Claims
-
1. A method comprising:
-
assigning identifiers of a sequence of identifiers to wakeup signals and to processing streams, the sequence of identifiers representing a chronological order that the wakeup signals are initiated and the processing streams begin waiting, wherein each of the identifiers is exclusively assigned to either a wakeup signal or a processing stream and the sequence of identifiers comprises a first identifier associated with a wakeup signal and a second identifier associated with a processing stream in a waiting state; receiving the wakeup signal associated with the first identifier after the processing stream associated with the second identifier enters the waiting state; responsive to the receiving the wakeup signal, comparing, by a processing device, the first identifier associated with the wakeup signal and the second identifier associated with the processing stream to determine that the processing stream began waiting after an initiation of the wakeup signal; and responsive to the comparing, waking at least one of the processing streams and avoiding waking the processing stream associated with the second identifier that began waiting during a time delay between the initiation of the wakeup signal and the receiving of the wakeup signal. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A system comprising:
-
a memory; and a processing device communicably coupled to the memory, the processing device to execute instructions to; assign identifiers of a sequence of identifiers to wakeup signals and to processing streams, the sequence of identifiers representing a chronological order that the wakeup signals are initiated and the processing streams begin waiting, wherein each of the identifiers is exclusively assigned to either a wakeup signal or a processing stream and the sequence of identifiers comprises a first identifier associated with a wakeup signal and a second identifier associated with a processing stream in a waiting state; receive the wakeup signal associated with the first identifier after the processing stream associated with the second identifier enters the waiting state; responsive to the receiving the wakeup signal, compare, by the processing device, the first identifier associated with the wakeup signal and the second identifier associated with the processing stream to determine that the processing stream began waiting after an initiation of the wakeup signal; and responsive to the comparing, wake at least one of the processing streams and avoiding waking the processing stream associated with the second identifier that began waiting during a time delay between the initiation of the wakeup signal and the receiving of the wakeup signal. - View Dependent Claims (13, 14, 15)
-
-
16. A non-transitory machine-readable storage medium storing instructions which, when executed, cause a processing device to execute operations comprising:
-
assign identifiers of a sequence of identifiers to wakeup signals and to processing streams, the sequence of identifiers representing a chronological order that the wakeup signals are initiated and the processing streams begin waiting, wherein each of the identifiers is exclusively assigned to either a wakeup signal or a processing stream and the sequence of identifiers comprises a first identifier associated with a wakeup signal and a second identifier associated with a processing stream in a waiting state; receive the wakeup signal associated with the first identifier after the processing stream associated with the second identifier enters the waiting state; responsive to the receiving the wakeup signal, compare, by a processing device, the first identifier associated with the wakeup signal and the second identifier associated with the processing stream to determine that the processing stream began waiting after an initiation of the wakeup signal; and responsive to the comparing, wake at least one of the processing streams and avoiding waking the processing stream associated with the second identifier that began waiting during a time delay between the initiation of the wakeup signal and the receiving of the wakeup signal. - View Dependent Claims (17, 18, 19)
-
Specification