Shared resource acquisition
First Claim
1. A computer-implemented method for exclusively acquiring a shared resource, said computer-implemented method comprising:
- determining that said shared resource is available to be exclusively acquired by a first thread;
preventing partial execution of operations by a second thread to acquire said shared resource, during operations to exclusively acquire said shared resource by said first thread, wherein said preventing partial execution of operations by said second thread is initiated by said first thread; and
performing said operations to exclusively acquire said shared resource by said first thread.
2 Assignments
0 Petitions
Accused Products
Abstract
A technology for exclusively acquiring a shared resource is disclosed. In one method approach, the method determines that a shared resource is available to be exclusively acquired by a first thread. The method also prevents partial execution of operations by a second thread, during operations to exclusively acquire the shared resource by the first thread, which may be accomplished by using an interrupt. The preventing of partial execution of operations by the second thread may be initiated by the first thread. The method embodiment then performs operations to exclusively acquire the shared resource by the first thread.
46 Citations
20 Claims
-
1. A computer-implemented method for exclusively acquiring a shared resource, said computer-implemented method comprising:
-
determining that said shared resource is available to be exclusively acquired by a first thread;
preventing partial execution of operations by a second thread to acquire said shared resource, during operations to exclusively acquire said shared resource by said first thread, wherein said preventing partial execution of operations by said second thread is initiated by said first thread; and
performing said operations to exclusively acquire said shared resource by said first thread. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system for acquiring a shared resource, said system comprising:
-
a thread manager, said thread manager configured to determine when a shared resource is available to be exclusively acquired by a first thread;
an operation suspension module coupled to said thread manager, said operation suspension module preventing partial execution of operations by a second thread to acquire said shared resource, during operations to exclusively acquire said shared resource by said first thread; and
an exclusive acquisition module coupled to said operation suspension module, said exclusive acquisition module configured to perform said operations to exclusively acquire said shared resource by said first thread, said exclusive acquisition module further configured to initiate action by said operation suspension module. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. Instructions on a computer-usable medium wherein the instructions when executed cause a computer system to perform a shared resource acquisition method, said method comprising:
-
determining that said shared resource is available to be exclusively acquired by a first thread;
suspending actions by a second thread such that partial execution of operations by said second thread to acquire said shared resource are prevented during operations to exclusively acquire said shared resource by said first thread, wherein said suspending actions by said second thread is initiated by said first thread; and
performing said operations to exclusively acquire said shared resource by said first thread such that race conditions between said first thread and said second thread are avoided. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification