Hybrid locking/queuing operations for mutual exclusion of work units
AssigneeMicrosoft Technology Licensing, LLC
InventorGarret Buban
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Technology Licensing, LLC
InventorGarret Buban
Estimating the term…
According to examples, an apparatus includes processing units that execute threads using a hybrid locking/queuing operation for efficient processing of work units with mutual exclusion of the work units. Under the hybrid locking/queuing operation, a processing unit determines that a first thread is to process a first work unit, in which the first work unit is under protection of a hybrid exclusion object (HEO), and in which the HEO includes an HEO queue. In addition, the processing unit places a lock on the HEO, determines whether the HEO is owned by a thread, and based on a determination that the HEO is owned by a second thread, adds the first work unit to the HEO queue, and releases the lock on the HEO. The second thread assigns ownership of the HEO to the first work unit when the first work unit reaches a top of the HEO queue.
An apparatus comprising:
A method comprising:
A non-transitory computer-readable medium on which is stored a plurality of instructions that when executed by a processing unit of a processor, cause the processing unit to:
Dependencies are inferred from the claim text.