Invention Grant
- Patent Title: Concurrent access methods for tree data structures
- Patent Title (中): 树数据结构的并发访问方法
-
Application No.: US13653367Application Date: 2012-10-16
-
Publication No.: US08868531B2Publication Date: 2014-10-21
- Inventor: David A. Majnemer , Wenguang Wang
- Applicant: Apple Inc.
- Applicant Address: US CA Cupertino
- Assignee: Apple Inc.
- Current Assignee: Apple Inc.
- Current Assignee Address: US CA Cupertino
- Agency: Blakely, Sokoloff, Taylor & Zafman LLP
- Main IPC: G06F17/00
- IPC: G06F17/00 ; G06F17/30

Abstract:
In one embodiment, non-transitory computer-readable medium stores instructions for implementing a file system, which include operations for acquiring an exclusive lock on a first node in an ordered tree data-structure, and adding an identifier and index of the first node to a path data structure. If the value of the index in the first node is non-zero, then each exclusive lock acquired between the first node and the root of the tree data structure is released. In any case, the operation proceeds to a second node, which is addressed at the index on the first node. In one embodiment, operations further include acquiring an exclusive lock on the second node, and, if the second node is a leaf node, performing updates to the second node, and then releasing each exclusive lock in the data-structure.
Public/Granted literature
- US20140074841A1 CONCURRENT ACCESS METHODS FOR TREE DATA STRUCTURES Public/Granted day:2014-03-13
Information query