METHOD OF CONTROLLING THREAD ACCESS TO A SYNCHRONIZATION OBJECT
First Claim
Patent Images
1. A method of controlling thread access to a synchronization object, comprising:
- waking a sleeping first thread after release, by a second thread, of a synchronization object in a normal state; and
causing, by the first thread, the synchronization object to transition to a want-lock state, the synchronization object being acquirable by the first thread prior to being acquirable by the second thread.
2 Assignments
0 Petitions
Accused Products
Abstract
A method of controlling thread access to a synchronization object is described. The method comprises waking a sleeping first thread after release, by a second thread, of a synchronization object in a normal state and causing, by the first thread, the synchronization object to transition to a want-lock state, the synchronization object being acquirable by the first thread prior to being acquirable by the second thread.
13 Citations
20 Claims
-
1. A method of controlling thread access to a synchronization object, comprising:
-
waking a sleeping first thread after release, by a second thread, of a synchronization object in a normal state; and causing, by the first thread, the synchronization object to transition to a want-lock state, the synchronization object being acquirable by the first thread prior to being acquirable by the second thread. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A system for controlling thread access to a synchronization object by at least one thread, comprising:
-
a synchronization object comprising an object wake state, wherein the object wake state comprises at least a normal state, an in-flight state, and a want-lock state; and at least one thread comprising a thread wake state, the at least one thread arranged to attempt to acquire the synchronization object if at least one of;
(a) the object wake state is in-flight or normal and (b) the thread wake state indicates the thread is the most recent awakened thread and the object wake state is want-lock. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
-
20. A memory or a computer-readable medium storing instructions which, when executed by a processor, cause the processor to wake a sleeping first thread after release, by a second thread, of a synchronization object in a normal state;
- and cause, by the first thread, the synchronization object to transition to a want-lock state, the synchronization object being acquirable by the first thread prior to being acquirable by the second thread.
Specification