TURNSTILE API FOR RUNTIME PRIORITY BOOSTING

One embodiment provides for a computer-implemented method comprising instantiating a synchronization primitive to control access to a resource, acquiring the synchronization primitive at a first thread, the first thread having a first priority, associating a turnstile with the synchronization primit...

Full description

Saved in:
Bibliographic Details
Main Authors Shah, Jainam A, Magee, James M, Steffen, Daniel A, Dalmia, Kushal, Chimene, Daniel A, Habouzit, Pierre, Andrus, Jeremy C, Sadini, Marina
Format Patent
LanguageEnglish
Published 05.12.2019
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:One embodiment provides for a computer-implemented method comprising instantiating a synchronization primitive to control access to a resource, acquiring the synchronization primitive at a first thread, the first thread having a first priority, associating a turnstile with the synchronization primitive, setting an inheritor of the turnstile to the first thread, attempting to acquire the synchronization primitive at a second thread while the synchronization primitive is held by the first thread, the second thread having a second priority, adding the second thread to a wait queue of the turnstile; and in response to determining that the second priority is higher than the first priority, increasing the priority of the first thread to the second priority.
Bibliography:Application Number: US201916380300