Invention Grant
- Patent Title: Providing lock-based access to nodes in a concurrent linked list
- Patent Title (中): 为并发链表中的节点提供基于锁的访问
-
Application No.: US12428247Application Date: 2009-04-22
-
Publication No.: US08224799B2Publication Date: 2012-07-17
- Inventor: Chunyan Song , Joshua Phillips , John Duffy , Tim Harris , Stephen H. Toub , Boby George
- Applicant: Chunyan Song , Joshua Phillips , John Duffy , Tim Harris , Stephen H. Toub , Boby George
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Main IPC: G06F17/00
- IPC: G06F17/00

Abstract:
A method of providing lock-based access to nodes in a concurrent linked list includes providing a plurality of striped lock objects. Each striped lock object is configured to lock at least one of the nodes in the concurrent linked list. An index is computed based on a value stored in a first node to be accessed in the concurrent linked list. A first one of the striped lock objects is identified based on the computed index. The first striped lock object is acquired, thereby locking and providing protected access to the first node.
Public/Granted literature
- US20100274937A1 PROVIDING LOCK-BASED ACCESS TO NODES IN A CONCURRENT LINKED LIST Public/Granted day:2010-10-28
Information query