Invention Application
- Patent Title: Method, Apparatus, and Chip for Implementing Mutually-Exclusive Operation of Multiple Threads
-
Application No.: US15686830Application Date: 2017-08-25
-
Publication No.: US20170351557A1Publication Date: 2017-12-07
- Inventor: Weizhi Xu , Zhimin Tang , Zhimin Zhang , Fenglong Song
- Applicant: Huawei Technologies Co., Ltd.
- Priority: CN201310112333.9 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
- US10331499B2 Method, apparatus, and chip for implementing mutually-exclusive operation of multiple threads Public/Granted day:2019-06-25
Information query