Method for managing software threads dependent on condition variables
Abstract
An apparatus includes a buffer, a sequencing circuit, and an execution unit. The buffer may be configured to store a plurality of instructions. Each of the plurality of instructions may be in a first thread. In response to determining that the first instruction depends on the value of a condition variable and to determining that a count value is below a predetermined threshold, the sequencing circuit may be configured to add a wait instruction before the first instruction. The execution unit may be configured to delay execution of the first instruction for an amount of time after executing the wait instruction. The sequencing circuit may be further configured to maintain the plurality of instructions in the first buffer after executing the wait instruction, and to decrement the count value in response to determining that the value of the condition variable is updated within the amount of time.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: storing, in a first buffer, a plurality of instructions wherein each instruction of the plurality of instructions is included in a first thread of a plurality of threads, and wherein each instruction that is included in the first thread is arranged in an order of execution in the first buffer; determining that a first instruction of the plurality of instructions depends on a value of a condition variable; executing a wait instruction before executing the first instruction in response to determining that the first instruction depends on the value of the condition variable a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 10,761,846 B2 | Method for managing software threads dependent on condition variables | 2020 | 0 |