Patent ID: 11940931
Assignee: APPLE INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. A non-transitory machine-readable medium storing instructions which, when executed, cause one or more processors to perform operations comprising:
instantiating a synchronization primitive to control access to a resource, the synchronization primitive comprising a user mode primitive;
acquiring the synchronization primitive at a first thread, the first thread having a first user mode priority and a first kernel mode priority; and
in response to an attempt to acquire the synchronization primitive at a second thread while the synchronization primitive is held by the first thread, adding the second thread to a wait queue of a first turnstile object associated with the synchronization primitive and signaling the second thread when the synchronization primitive is available to be acquired, wherein the second thread has a second user mode priority that differs from the first user mode priority.