The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Sep. 14, 2021
Filed:
Aug. 27, 2019
Baidu Online Network Technology (Beijing) Co., Ltd., Beijing, CN;
Kaiwen Feng, Beijing, CN;
Zhuo Chen, Beijing, CN;
Yuedong Dang, Beijing, CN;
Ronggui Peng, Beijing, CN;
Wanyu Bao, Beijing, CN;
Zhongjun Ni, Beijing, CN;
BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD., Beijing, CN;
Abstract
The embodiments of the present disclosure provide a method and a device for implementing read-write lock reentry, a terminal and a storage medium. The method includes: receiving a write lock request of a thread to a target resource; in response to determining that the target resource is in a write-lock-exclusive state, acquiring a historical write-lock thread to the target resource that is in the write-lock-exclusive state; in response to determining that the thread is identical to the historical write-lock thread, adding a new lock of the thread to the target resource.