PLACEMENT OF A PROCESSING UNIT IN UNFAIR LOCK MODE IN RESPONSE TO A QUEUE IN A FAIR LOCK MODE
First Claim
Patent Images
1. A method to obtain a lock, the method comprising:
- identifying a presence of a processing unit that is to obtain the lock within a queue in a fair lock mode; and
in response to the presence of the processing unit within the queue, placing a separate processing unit in an unfair lock mode.
1 Assignment
0 Petitions
Accused Products
Abstract
Examples herein disclose identification of a presence of a processing unit that is to obtain the lock within a queue in a fair lock mode. In response to the presence of the processing unit within the queue, the examples place a separate processing unit in an unfair lock mode.
8 Citations
15 Claims
-
1. A method to obtain a lock, the method comprising:
-
identifying a presence of a processing unit that is to obtain the lock within a queue in a fair lock mode; and in response to the presence of the processing unit within the queue, placing a separate processing unit in an unfair lock mode. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A lock system comprising:
-
a queue to; operate in a fair spinlock mode; and list which processing unit is to obtain a lock; a separate processing unit that; determine a presence of a processing unit with the queue; and operate in an unfair spinlock mode in response to the presence of the processing unit within the queue. - View Dependent Claims (9, 10)
-
-
11. A non-transitory machine-readable storage medium comprising instructions that when executed by a processing resource cause a computing device to:
-
determine a presence of a processing unit within a queue that is obtain a lock in a fair lock mode; identify a status of a queue head; and in response to the presence of the processing unit within the queue and identification of an inactive status of the queue head, place a separate processing unit in an unfair lock mode. - View Dependent Claims (12, 13, 14, 15)
-
Specification