Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND APPARATUS FOR OBTAINING LOCK RESOURCES, AND DEVICE
Document Type and Number:
WIPO Patent Application WO/2023/066141
Kind Code:
A1
Abstract:
Embodiments of the present application disclose a method and apparatus for obtaining lock resources, and a device. The method is applied to a computer device in which a processor comprises a first core and a second core, and specifically comprises: running a first code segment by means of a first thread running on the first core, in the running process, the first thread determining that the priority of the first core is lower than that of the second core. In the case that a waiting queue is not empty, the first thread delays joining the waiting queue, so that a second thread running under the second core can join the waiting queue before the first thread, and thus obtains lock resources before the first thread, thereby reducing the waiting time of the second thread, and increasing the throughput rate of the processor.

Inventors:
LIU NIAN (CN)
WU MINGYU (CN)
CHEN HAIBO (CN)
GUO HANJUN (CN)
Application Number:
PCT/CN2022/125241
Publication Date:
April 27, 2023
Filing Date:
October 14, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
HUAWEI TECH CO LTD (CN)
International Classes:
G06F9/48
Foreign References:
CN105071973A2015-11-18
CN112765088A2021-05-07
CN107329810A2017-11-07
US20110185154A12011-07-28
US20180293113A12018-10-11
Attorney, Agent or Firm:
SHENPAT INTELLECTUAL PROPERTY AGENCY (CN)
Download PDF: