Thread optimization for lock and unlock operations in a multi-thread environment
Abstract
In one embodiment of the invention, a first reference to a first object is recorded in a first list when a first thread in a multi-thread environment invokes a lock operation on the first object. A thread-safe locking mechanism on the first object in the first list is restored when a second thread is created.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 9.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method comprising: recording a first reference to a first object in a first list when a first thread in a multi-thread environment invokes a lock operation, without actually locking, on the first object; and restoring a thread-safe locking mechanism on the first object in the first list when a second thread is created.
- Claim 2Depends on #1
The method of claim 1 further comprising: removing the first reference from the first list when the first thread invokes an unlock operation, without actually unlocking, on the first object.
- Claim 3Depends on #2
The method of claim 2 wherein recording the first reference comprises: storing the first reference in a data structure; and updating a pointer to the data structure to point to a next location in the data structure.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗