Invention Grant
- Patent Title: Method, apparatus, and chip for implementing mutually-exclusive operation of multiple threads
-
Application No.: US15686830Application Date: 2017-08-25
-
Publication No.: US10331499B2Publication Date: 2019-06-25
- 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/52
- IPC: 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
- US20170351557A1 Method, Apparatus, and Chip for Implementing Mutually-Exclusive Operation of Multiple Threads Public/Granted day:2017-12-07
Information query