Invention Grant
- Patent Title: Fair scalable reader-writer mutual exclusion
- Patent Title (中): 公平可扩展的读写器互斥
-
Application No.: US11215863Application Date: 2005-08-30
-
Publication No.: US07730491B2Publication Date: 2010-06-01
- Inventor: Alexey Kukanov , Arch Robison
- Applicant: Alexey Kukanov , Arch Robison
- Applicant Address: US CA Santa Clara
- Assignee: Intel Corporation
- Current Assignee: Intel Corporation
- Current Assignee Address: US CA Santa Clara
- Agent D'Ann Naylor Rifai
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F7/38

Abstract:
Implementing fair scalable reader writer mutual exclusion for access to a critical section by a plurality of processing threads in a processing system is accomplished by creating a first queue node for a first thread on the first thread's stack, the queue node representing a request by the first thread to access the critical section; adding the first queue node to a queue pointed to by a single word reader writer mutex for the critical section, the queue representing a list of threads desiring access to the critical section, each queue node in the queue being on a stack of a thread of the plurality of processing threads; waiting until the first queue node has no preceding write requests as indicated by predecessor queue nodes on the queue; entering the critical section by the first thread; exiting the critical section by the first thread; and removing the first queue node from the queue.
Public/Granted literature
- US20070067774A1 Fair scalable reader-writer mutual exclusion Public/Granted day:2007-03-22
Information query