UTILITY FUNCTION EXECUTION USING SCOUT THREADS
First Claim
1. A method for using threads in executable code, the method comprising:
- concurrently executing a first thread and a second thread;
the second thread producing results by executing a function in a program sequence prior to the first thread reaching a point in the program sequence which includes the function; and
the first thread reaching said point in the program sequence, and consuming said results in lieu of executing said function.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and mechanism for using threads in a computing system. A multithreaded computing system is configured to execute a first thread and a second thread. The first and second threads are configured to operate in a producer-consumer relationship. The second thread is configured to execute utility type functions in advance of the first thread reaching the functions in the program code. The second thread executes in parallel with the first thread and produces results from the execution which are made available for consumption by the first thread. Analysis of the program code is performed to identify such utility functions and modify the program code to support execution of the functions by the second thread.
-
Citations
20 Claims
-
1. A method for using threads in executable code, the method comprising:
-
concurrently executing a first thread and a second thread; the second thread producing results by executing a function in a program sequence prior to the first thread reaching a point in the program sequence which includes the function; and the first thread reaching said point in the program sequence, and consuming said results in lieu of executing said function. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A multithreaded multicore processor comprising:
-
a memory; and a plurality of processing cores, wherein a first core of said cores is configured to execute a first thread, and a second core of said cores is configured to execute a second thread, wherein the first thread and second thread are concurrently executable; wherein the second thread is configured to produce results by executing a function in a program sequence prior to the first thread reaching a point in the program sequence which includes the function; and wherein the first thread is configured to consume said results in lieu of executing said function, in response to reaching said point in the program sequence. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer readable medium comprising program instructions, said program instructions being operable to cause:
-
concurrent execution of a first thread and a second thread; the second thread to produce results by executing a function in a program sequence prior to the first thread reaching a point in the program sequence which includes the function; and the first thread to consume said results in lieu of executing said function, in response to reaching said point in the program sequence. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification