Utilizing access control data structures for sharing computing resources
AssigneeRed Hat, Inc.
InventorTorvald Riegel
Life of this patent
Estimating the term…
Abstract
Systems and methods for sharing resources between multiple processing streams. An example method may comprise: maintaining, by a processing device, a first variable identifying a number of processing streams waiting to access a resource; performing an atomic operation on a second variable comprising a first portion and a second portion, the atomic operation comprising incrementing the first portion to reflect a number of available units of the resource and further comprising reading the second portion reflecting a value of the first variable.
Claims20
A method comprising:
- maintaining, by a processing device, a first variable identifying a number of processing streams waiting to access a resource;
- performing an atomic operation on a second variable comprising a first portion and a second portion, the atomic operation comprising incrementing the first portion to reflect a number of available units of the resource and further comprising reading the second portion reflecting a value of the first variable.
A system comprising:
- a memory;
- and
- a processing device communicably coupled to the memory, the processing device to execute instructions to:
- maintain a first variable identifying a number of processing streams waiting to access a resource;
- perform an atomic operation on a second variable comprising a first portion and a second portion, the atomic operation comprising incrementing the first portion to reflect a number of available units of the resource and further comprising reading the second portion reflecting a value of the first variable.
A non-transitory machine-readable storage medium storing instructions which, when executed, cause a processing device to execute operations comprising:
- maintain a first variable identifying a number of processing streams waiting to access a resource;
- perform an atomic operation on a second variable comprising a first portion and a second portion, the atomic operation comprising incrementing the first portion to reflect a number of available units of the resource and further comprising reading the second portion reflecting a value of the first variable.
Dependencies are inferred from the claim text.