WO2024255500A8 - 一种多线程并发管理方法和相关装置 - Google Patents

一种多线程并发管理方法和相关装置

Info

Publication number
WO2024255500A8
WO2024255500A8 PCT/CN2024/092938 CN2024092938W WO2024255500A8 WO 2024255500 A8 WO2024255500 A8 WO 2024255500A8 CN 2024092938 W CN2024092938 W CN 2024092938W WO 2024255500 A8 WO2024255500 A8 WO 2024255500A8
Authority
WO
WIPO (PCT)
Prior art keywords
thread
target
sub
variable
variable region
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2024/092938
Other languages
English (en)
French (fr)
Other versions
WO2024255500A1 (zh
Inventor
李修昶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2024255500A1 publication Critical patent/WO2024255500A1/zh
Publication of WO2024255500A8 publication Critical patent/WO2024255500A8/zh
Anticipated expiration legal-status Critical
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/466Transaction processing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)

Abstract

本申请公开了一种多线程并发管理方法和相关装置,该方法可包括:将目标全局变量划分为多个子变量区;所述目标全局变量用于控制多线程访问目标数据,所述多个子变量区中每个子变量区包括一个或多个标记位;将多个线程划分为多个线程组;所述多个线程用于申请对所述目标数据进行读取的权限;授权目标线程组中的目标线程对目标子变量区中的标记位进行修改;所述多个线程组中的一个线程组和所述多个子变量区中的一个子变量区一一对应;若所述目标线程修改标记位成功,则允许所述目标线程读取所述目标数据。本申请实施例应用于多线程并发CAS操作的场景中,能够提高CAS操作的成功率。
PCT/CN2024/092938 2023-06-15 2024-05-13 一种多线程并发管理方法和相关装置 Pending WO2024255500A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310717179.1A CN119149177A (zh) 2023-06-15 2023-06-15 一种多线程并发管理方法和相关装置
CN202310717179.1 2023-06-15

Publications (2)

Publication Number Publication Date
WO2024255500A1 WO2024255500A1 (zh) 2024-12-19
WO2024255500A8 true WO2024255500A8 (zh) 2025-10-23

Family

ID=93813887

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/092938 Pending WO2024255500A1 (zh) 2023-06-15 2024-05-13 一种多线程并发管理方法和相关装置

Country Status (2)

Country Link
CN (1) CN119149177A (zh)
WO (1) WO2024255500A1 (zh)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8539168B2 (en) * 2009-06-26 2013-09-17 Oracle America, Inc. Concurrency control using slotted read-write locks
CN104572568B (zh) * 2013-10-15 2021-07-23 蚂蚁金服(杭州)网络技术有限公司 读锁操作方法、写锁操作方法及系统
CN115756863A (zh) * 2022-11-30 2023-03-07 天翼电子商务有限公司 一种高并发场景下的多线程cas操作管理方法及系统
CN116028189A (zh) * 2023-02-13 2023-04-28 广州文远知行科技有限公司 多线程服务退出方法、装置、存储介质和计算机设备

Also Published As

Publication number Publication date
WO2024255500A1 (zh) 2024-12-19
CN119149177A (zh) 2024-12-17

Similar Documents

Publication Publication Date Title
KR100382395B1 (ko) 컴퓨터메모리에정보를기억하는방법및장치
DE3788032T2 (de) Struktur zum Wiederordnen von Bits auf dem Chip.
CN1975634B (zh) 用于存储器访问的自适应节流的装置
US4663756A (en) Multiple-use priority network
DE3438869A1 (de) Computersystem mit adressumwandlung
EP2939100A2 (en) Method and system for asynchronous die operations in a non-volatile memory
DE102008050308A1 (de) Verfahren und Vorrichtung zur Speicherzugriffsoptimierung
US6868505B2 (en) Memory exchange
DE102016122375A1 (de) Dynamischer containerisierter Systemspeicherschutz für Niedrigenergie-MCUs
WO2024255500A8 (zh) 一种多线程并发管理方法和相关装置
KR20080105345A (ko) 병렬 처리 장치 및 방법
EP4546157A3 (en) Resource scheduling method and apparatus for elastic-search cluster, and system
KR102408350B1 (ko) 에너지 효율을 개선할 수 있는 그래픽 처리 장치를 위한 메모리 컨트롤러 및 이의 메모리 제어 방법
US6031546A (en) Image processing apparatus and method
US20060215481A1 (en) System and method for re-ordering memory references for access to memory
EP0694843B1 (de) Verfahren und Anordnung zur Steuerung einer Sequenz von Zugriffen eines Prozessors zu einem zugeordneten Speicher
KR20230117200A (ko) 레지스터의 니어-메모리 결정
JP3846543B2 (ja) メモリアクセスシステム
US9747970B2 (en) Refresh circuit
DE69224489T2 (de) Speicherzugriffssteuerung
US12176018B2 (en) Semiconductor memory, method for refreshing, method for controlling and electronic device
JPS593790A (ja) ダイナミツクメモリ素子を用いた記憶装置
US8743602B2 (en) Nonvolatile memory device
MX2023006813A (es) Cambio de pistas de video en videos inmersivos.
US7296134B2 (en) Fast unaligned memory access system and method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24822452

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2024822452

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2024822452

Country of ref document: EP

Effective date: 20260115

ENP Entry into the national phase

Ref document number: 2024822452

Country of ref document: EP

Effective date: 20260115

ENP Entry into the national phase

Ref document number: 2024822452

Country of ref document: EP

Effective date: 20260115

ENP Entry into the national phase

Ref document number: 2024822452

Country of ref document: EP

Effective date: 20260115