Method, apparatus and computer program for executing a program by incorporating threads
Abstract
There is provided a method for executing a program comprising a function call and one or more subsequent instructions. The method comprises processing, on a first thread, a function defined by the function call, the function having one or more programmer predefined typical return values. For each predefined return value, the one or more subsequent instructions are pre-processed on an additional thread assuming that the function returned that pre-defined return value. In this way the processor, on completion of processing said function is able to make use of the pre-processing completed by the additional thread which used the actual return value.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for executing a program comprising a function call and one or more subsequent instructions, the method comprising steps of: processing, on a first thread, a function defined by the function call, the function having at least two programmer predefined typical return values; for each predefined return value, pre-processing on an additional thread, the one or more subsequent instructions which are associated with a given predefined return value, wherein said pre-processing is performed concurrent with the processing of the first thread; and responsive to completion o
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (21)
Non-Patent Literature (5)
- Aamodt et al, "The Predictability of Computations that Product Unpredictable Outcomes", Dec. 2001, pp. 23-34.
- Cui et al, "Parallel replacement mechanism for multithread", IEEE, pp. 338-344, 1997.
- Li et al, "A framework of reachability testing for Java multithread programs", IEEE, pp. 2730-2734, 2004.
- Manson et al, "Core semantics of multithreaded Java", ACM JAVA pp. 29-38, 2001.
- Matsuzaki et al, "A multithread processor architecture based on the continuation model", IEEE IWIA, pp. 1-8, 2005.