Method and system to reduce thrashing in a multi-threaded programming environment
AssigneeIntel Corporation
InventorPhilip J. Kerly
Life of this patent
Estimating the term…
Abstract
A method and system to reduce thrashing in a multi-threaded programming environment is disclosed. A method in accordance with one embodiment of the present invention includes intercepting an operating system thread creation request for a function, creating a thread including a stack in response to intercepting the operating system thread creation request, modifying an initial stack pointer of the stack, and executing the function utilizing the thread in response to modifying the initial stack pointer.
Claims28
A method comprising:
- intercepting an operating system thread creation request for a function;
- creating a thread in response to intercepting said operating system thread creation request, said thread including a stack;
- modifying an initial stack pointer of said stack;
- and
- executing said function utilizing said thread in response to modifying said initial stack pointer of said stack.
A machine-accessible medium having machine-executable instructions embodied therein which, when executed by a machine, causes said machine to perform a method comprising:
- intercepting an operating system thread creation request for a function;
- creating a thread in response to intercepting said operating system thread creation request, said thread including a stack;
- modifying an initial stack pointer of said stack;
- and
- executing said function utilizing said thread in response to modifying said initial stack pointer of said stack.
A data processing system comprising:
- a processor;
- a first memory coupled to said processor, said first memory comprising a virtually-addressable cache memory;
- and
- a second memory coupled to said first memory, said second memory comprising:
- a first program module to intercept an operating system thread creation request for a function and to create a thread in response to an interception of said operating system thread creation request, said thread including a stack;
- a second program module to modify an initial stack pointer of said stack and to execute said function utilizing said thread in response to a modification of said initial stack pointer of said stack.
An apparatus comprising:
- a first program module to intercept an operating system thread creation request for a function and to create a thread in response to an interception of said operating system thread creation request, said thread including a stack;
- a second program module to modify an initial stack pointer of said stack and to execute said function utilizing said thread in response to a modification of said initial stack pointer of said stack.
Dependencies are inferred from the claim text.