Invention Grant
- Patent Title: Method, apparatus, and chip for implementing mutually-exclusive operation of multiple threads
-
Application No.: US14872946Application Date: 2015-10-01
-
Publication No.: US09798591B2Publication Date: 2017-10-24
- Inventor: Weizhi Xu , Zhimin Tang , Zhimin Zhang , Fenglong Song
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: Huawei Technologies Co., Ltd
- Current Assignee: Huawei Technologies Co., Ltd
- Current Assignee Address: CN Shenzhen
- Agency: Slater Matsil, LLP
- Priority: CN201310112333 20130401
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F12/00 ; G06F13/22 ; G06F9/52 ; G06F12/14

Abstract:
Multiple lock assemblies are distributed on a chip, each lock assembly manage a lock application message for applying for a lock and a lock release message for releasing a lock that are sent by one small core. Specifically, embodiments include receiving a lock message sent by a small core, where the lock message carries a memory address corresponding to a lock requested by a first thread in the small core; calculating, using the memory address of the requested lock, a code number of a lock assembly to which the requested lock belongs; and sending the lock message to the lock assembly corresponding to the code number, to request the lock assembly to process the lock message.
Public/Granted literature
- US20160019100A1 Method, Apparatus, and Chip for Implementing Mutually-Exclusive Operation of Multiple Threads Public/Granted day:2016-01-21
Information query