Method and apparatus for handling threads in a data processing system
First Claim
Patent Images
1. A method in a data processing system for managing threads, the method comprising:
- detecting a kernel thread associated with a user thread as being unneeded by the user thread; and
responsive to the kernel thread being unneeded, semi-detaching the kernel thread, wherein data for the thread does not change stacks.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, apparatus, and computer instructions for managing threads. A kernel thread associated with a user thread is detected as being unneeded by the user thread. The kernel thread is semi-detached in which data for the thread does not change stacks in response to the kernel thread being unneeded.
23 Citations
18 Claims
-
1. A method in a data processing system for managing threads, the method comprising:
-
detecting a kernel thread associated with a user thread as being unneeded by the user thread; and
responsive to the kernel thread being unneeded, semi-detaching the kernel thread, wherein data for the thread does not change stacks. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A data processing system for managing threads, the data processing system comprising:
-
a bus system;
a communications unit connected to the bus system;
a memory connected to the bus system, wherein the memory includes a set of instructions; and
a processing unit connected to the bus system, wherein the processing unit executes the set of instructions to detect a kernel thread associated with a user thread as being unneeded by the user thread; and
semi-detach the kernel thread in which data for the thread does not change stacks in response to the kernel thread being unneeded.
-
-
10. A data processing system for managing threads, the data processing system comprising:
-
detecting means for detecting a kernel thread associated with a user thread as being unneeded by the user thread; and
semi-detaching means, responsive to the kernel thread being unneeded, for semi-detaching the kernel thread, wherein data for the thread does not change stacks. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer program product in a computer readable medium for managing threads, the computer program product comprising:
-
first instructions for detecting a kernel thread associated with a user thread as being unneeded by the user thread; and
second instructions for responsive to the kernel thread being unneeded, semi-detaching the kernel thread, wherein data for the thread does not change stacks.
-
Specification