Patent · US Active

Method and device for implementing read-write lock reentry, terminal and storage medium

US11119832B2 · kind B2 · utility

0Cited by
0References
9Claims
0Family size

Assignee

Inventors

Key dates

Filing dateAug 27, 2019
Grant dateSep 14, 2021
Priority date
Expiry dateJan 23, 2040

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F9/5005
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

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.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.