CN104572568B - 读锁操作方法、写锁操作方法及*** - Google Patents
读锁操作方法、写锁操作方法及*** Download PDFInfo
- Publication number
- CN104572568B CN104572568B CN201310482117.3A CN201310482117A CN104572568B CN 104572568 B CN104572568 B CN 104572568B CN 201310482117 A CN201310482117 A CN 201310482117A CN 104572568 B CN104572568 B CN 104572568B
- Authority
- CN
- China
- Prior art keywords
- lock
- core
- read
- write
- data
- 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.)
- Active
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Memory System Of A Hierarchy Structure (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
Claims (16)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111082328.9A CN113835901A (zh) | 2013-10-15 | 2013-10-15 | 读锁操作方法、写锁操作方法及*** |
CN201310482117.3A CN104572568B (zh) | 2013-10-15 | 2013-10-15 | 读锁操作方法、写锁操作方法及*** |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310482117.3A CN104572568B (zh) | 2013-10-15 | 2013-10-15 | 读锁操作方法、写锁操作方法及*** |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111082328.9A Division CN113835901A (zh) | 2013-10-15 | 2013-10-15 | 读锁操作方法、写锁操作方法及*** |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104572568A CN104572568A (zh) | 2015-04-29 |
CN104572568B true CN104572568B (zh) | 2021-07-23 |
Family
ID=53088677
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111082328.9A Pending CN113835901A (zh) | 2013-10-15 | 2013-10-15 | 读锁操作方法、写锁操作方法及*** |
CN201310482117.3A Active CN104572568B (zh) | 2013-10-15 | 2013-10-15 | 读锁操作方法、写锁操作方法及*** |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111082328.9A Pending CN113835901A (zh) | 2013-10-15 | 2013-10-15 | 读锁操作方法、写锁操作方法及*** |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN113835901A (zh) |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105094840B (zh) * | 2015-08-14 | 2019-01-29 | 浪潮(北京)电子信息产业有限公司 | 一种基于缓存一致性原理的原子操作实现方法及装置 |
CN105955804B (zh) * | 2016-04-22 | 2018-06-05 | 星环信息科技(上海)有限公司 | 一种处理分布式事务的方法与设备 |
US20180232304A1 (en) * | 2017-02-16 | 2018-08-16 | Futurewei Technologies, Inc. | System and method to reduce overhead of reference counting |
US20180260255A1 (en) * | 2017-03-10 | 2018-09-13 | Futurewei Technologies, Inc. | Lock-free reference counting |
CN108388424B (zh) * | 2018-03-09 | 2021-09-21 | 北京奇艺世纪科技有限公司 | 一种调用接口数据的方法、装置及电子设备 |
CN110704198B (zh) * | 2018-07-10 | 2023-05-02 | 阿里巴巴集团控股有限公司 | 数据操作方法、装置、存储介质以及处理器 |
CN109271258B (zh) | 2018-08-28 | 2020-11-17 | 百度在线网络技术(北京)有限公司 | 读写锁重入的实现方法、装置、终端及存储介质 |
CN109656730B (zh) * | 2018-12-20 | 2021-02-23 | 东软集团股份有限公司 | 一种访问缓存的方法和装置 |
CN111459691A (zh) * | 2020-04-13 | 2020-07-28 | 中国人民银行清算总中心 | 共享内存的读写方法及装置 |
CN111597193B (zh) * | 2020-04-28 | 2023-09-26 | 广东亿迅科技有限公司 | 一种树形数据的加解锁方法 |
CN111782609B (zh) * | 2020-05-22 | 2023-10-13 | 北京和瑞精湛医学检验实验室有限公司 | 一种快速将fastq文件均匀分片的方法 |
CN111913810B (zh) * | 2020-07-28 | 2024-03-19 | 阿波罗智能技术(北京)有限公司 | 多线程场景下的任务执行方法、装置、设备和存储介质 |
CN112346879B (zh) * | 2020-11-06 | 2023-08-11 | 网易(杭州)网络有限公司 | 进程管理方法、装置、计算机设备及存储介质 |
CN113791916B (zh) * | 2021-11-17 | 2022-02-08 | 支付宝(杭州)信息技术有限公司 | 对象更新、读取方法及装置 |
CN115202884B (zh) * | 2022-07-26 | 2023-08-22 | 江苏安超云软件有限公司 | 基于轮询的高性能***的加解读写锁的方法及应用 |
CN115599575B (zh) * | 2022-09-09 | 2024-04-16 | ***数智科技有限公司 | 一种解决集群逻辑卷并发激活和反激活的新方法 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6292881B1 (en) * | 1998-03-12 | 2001-09-18 | Fujitsu Limited | Microprocessor, operation process execution method and recording medium |
CN101854302A (zh) * | 2010-05-27 | 2010-10-06 | 中兴通讯股份有限公司 | 报文保序方法及*** |
CN102681892A (zh) * | 2012-05-15 | 2012-09-19 | 西安热工研究院有限公司 | Key-Value型单写多读锁池软件模块及其运行方法 |
CN102999378A (zh) * | 2012-12-03 | 2013-03-27 | 中国科学院软件研究所 | 一种读写锁实现方法 |
CN103279428A (zh) * | 2013-05-08 | 2013-09-04 | 中国人民解放军国防科学技术大学 | 一种显式的面向流应用的多核Cache一致性主动管理方法 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6886081B2 (en) * | 2002-09-17 | 2005-04-26 | Sun Microsystems, Inc. | Method and tool for determining ownership of a multiple owner lock in multithreading environments |
CN100583832C (zh) * | 2007-03-30 | 2010-01-20 | 华为技术有限公司 | 数据管理方法及*** |
CN101771600B (zh) * | 2008-12-30 | 2012-12-12 | 北京天融信网络安全技术有限公司 | 多核下连接并发处理的方法 |
US8973004B2 (en) * | 2009-06-26 | 2015-03-03 | Oracle America, Inc. | Transactional locking with read-write locks in transactional memory systems |
-
2013
- 2013-10-15 CN CN202111082328.9A patent/CN113835901A/zh active Pending
- 2013-10-15 CN CN201310482117.3A patent/CN104572568B/zh active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6292881B1 (en) * | 1998-03-12 | 2001-09-18 | Fujitsu Limited | Microprocessor, operation process execution method and recording medium |
CN101854302A (zh) * | 2010-05-27 | 2010-10-06 | 中兴通讯股份有限公司 | 报文保序方法及*** |
CN102681892A (zh) * | 2012-05-15 | 2012-09-19 | 西安热工研究院有限公司 | Key-Value型单写多读锁池软件模块及其运行方法 |
CN102999378A (zh) * | 2012-12-03 | 2013-03-27 | 中国科学院软件研究所 | 一种读写锁实现方法 |
CN103279428A (zh) * | 2013-05-08 | 2013-09-04 | 中国人民解放军国防科学技术大学 | 一种显式的面向流应用的多核Cache一致性主动管理方法 |
Also Published As
Publication number | Publication date |
---|---|
CN104572568A (zh) | 2015-04-29 |
CN113835901A (zh) | 2021-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104572568B (zh) | 读锁操作方法、写锁操作方法及*** | |
US8954986B2 (en) | Systems and methods for data-parallel processing | |
US8364909B2 (en) | Determining a conflict in accessing shared resources using a reduced number of cycles | |
RU2501071C2 (ru) | Механизм запроса поздней блокировки для пропуска аппаратной блокировки (hle) | |
US7899997B2 (en) | Systems and methods for implementing key-based transactional memory conflict detection | |
US8645963B2 (en) | Clustering threads based on contention patterns | |
US10579413B2 (en) | Efficient task scheduling using a locking mechanism | |
US10282230B2 (en) | Fair high-throughput locking for expedited grace periods | |
US11748174B2 (en) | Method for arbitration and access to hardware request ring structures in a concurrent environment | |
US11170816B2 (en) | Reader bias based locking technique enabling high read concurrency for read-mostly workloads | |
US20160004478A1 (en) | Wait-free algorithm for inter-core, inter-process, or inter-task communication | |
CN112306699B (zh) | 访问临界资源的方法及装置、计算机设备及可读存储介质 | |
US20180260255A1 (en) | Lock-free reference counting | |
US8468169B2 (en) | Hierarchical software locking | |
US10101999B2 (en) | Memory address collision detection of ordered parallel threads with bloom filters | |
US10310916B2 (en) | Scalable spinlocks for non-uniform memory access | |
CN112346879B (zh) | 进程管理方法、装置、计算机设备及存储介质 | |
US10146689B2 (en) | Locally poll flag in multi processing node system to determine whether a resource is free to use for thread | |
US11074200B2 (en) | Use-after-free exploit prevention architecture | |
WO2015004570A1 (en) | Method and system for implementing a dynamic array data structure in a cache line | |
KR101667426B1 (ko) | 다중 프로세서를 위한 잠금이 없는 메모리 제어기 및 상기 메모리 제어기를 이용한 다중 프로세서 시스템 | |
Shin et al. | Strata: Wait-free synchronization with efficient memory reclamation by using chronological memory allocation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20191213 Address after: P.O. Box 31119, grand exhibition hall, hibiscus street, 802 West Bay Road, Grand Cayman, Cayman Islands Applicant after: Innovative advanced technology Co., Ltd Address before: Greater Cayman, British Cayman Islands Applicant before: Alibaba Group Holding Co., Ltd. |
|
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210208 Address after: 801-10, Section B, 8th floor, 556 Xixi Road, Xihu District, Hangzhou City, Zhejiang Province 310000 Applicant after: Ant financial (Hangzhou) Network Technology Co.,Ltd. Address before: Ky1-1205 P.O. Box 31119, hibiscus street, 802 Sai Wan Road, Grand Cayman Islands, ky1-1205 Applicant before: Innovative advanced technology Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210908 Address after: 100020 unit 02, 901, floor 9, unit 1, building 1, No.1, East Third Ring Middle Road, Chaoyang District, Beijing Patentee after: Beijing Aoxing Beisi Technology Co., Ltd Address before: 801-10, Section B, 8th floor, 556 Xixi Road, Xihu District, Hangzhou City, Zhejiang Province 310000 Patentee before: Ant financial (Hangzhou) Network Technology Co.,Ltd. |