METHOD AND SYSTEM FOR ROBUST FUTEXES
First Claim
1. A method of managing primitives, the method comprising:
- registering a data structure that is stored in user space, wherein the data structure tracks a user controllable mutual exclusion primitive that is acquired by a process running in the user space, and wherein the user controllable mutual exclusion primitive serves as a lock on a resource provided by a computer system;
detecting, by a processor, a termination of the process, wherein the process maintains the lock on the resource after termination;
searching the data structure to identify the user controllable mutual exclusion primitive that is acquired by the process that terminated; and
releasing the user controllable mutual exclusion primitive if the user controllable mutual exclusion primitive is identified as being acquired by the process.
1 Assignment
0 Petitions
Accused Products
Abstract
Systems and methods of managing primitives are disclosed. A data structure that is stored in user space is registered, wherein the data structure tracks a user controllable mutual exclusion primitive that is acquired by a process running in the user space, and wherein the user controllable mutual exclusion primitive serves as a lock on a resource provided by a computer system. A termination of the process is detected, wherein the process maintains the lock on the resource after termination and the data structure is searched to identify the user controllable mutual exclusion primitive that is acquired by the process that terminated. The user controllable mutual exclusion primitive is released if the user controllable mutual exclusion primitive is identified as being acquired by the process.
-
Citations
20 Claims
-
1. A method of managing primitives, the method comprising:
-
registering a data structure that is stored in user space, wherein the data structure tracks a user controllable mutual exclusion primitive that is acquired by a process running in the user space, and wherein the user controllable mutual exclusion primitive serves as a lock on a resource provided by a computer system; detecting, by a processor, a termination of the process, wherein the process maintains the lock on the resource after termination; searching the data structure to identify the user controllable mutual exclusion primitive that is acquired by the process that terminated; and releasing the user controllable mutual exclusion primitive if the user controllable mutual exclusion primitive is identified as being acquired by the process. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. An apparatus comprising:
-
a memory configured to store a data structure stored in user space, wherein the data structure is configured to track a user controllable mutual exclusion primitive that is acquired by a process running in the user space and wherein the user controllable mutual exclusion primitive serves as a lock on a resource provided by a computer system; and a processor device, coupled to the memory; and a mutual exclusion module, executable by the processor to; register the data structure; detect a termination of the process, wherein the process maintains the lock on the resource after termination; search the data structure to identify the user controllable mutual exclusion primitive that is acquired by the process that terminated; and release the user controllable mutual exclusion primitive if the user controllable mutual exclusion primitive is identified as being acquired by the process. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A non-transitory machine-readable storage medium including data that, when accessed by a machine, cause the machine to perform a method comprising:
-
registering a data structure that is stored in user space, wherein the data structure tracks a user controllable mutual exclusion primitive that is acquired by a process running in the user space, and wherein the user controllable mutual exclusion primitive serves as a lock on a resource provided by a computer system; detecting, by a processor, a termination of the process, wherein the process maintains the lock on the resource after termination; searching the data structure to identify the user controllable mutual exclusion primitive that is acquired by the process that terminated; and releasing the user controllable mutual exclusion primitive if the user controllable mutual exclusion primitive is identified as being acquired by the process. - View Dependent Claims (17, 18, 19, 20)
-
Specification