Storing contexts for thread switching
Abstract
An electronic device comprising decode logic that decodes instructions and a stack coupled to the decode logic. A group of instructions causes the decode logic to push onto the stack, after halting processing of a first thread at a switch point and prior to processing a second thread, a minimum amount of information needed to resume execution of the first thread at the switch point and not information not needed to resume execution of the first thread at the switch point.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An electronic device, comprising: a processor configured to execute a first thread and a second thread; a memory coupled to the processor and configured to store a first stack used by the first thread, wherein the processor is further configured to switch from execution of the first thread to execution of the second thread by halting the first thread at a switch point; and executing a minimum context push instruction comprised in a first instruction set of the processor, wherein execution of the minimum context push instruction pushes a minimum context of the first thread onto the first stack,
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗