System and method for dynamically determining a portion of a resource for which a thread is to obtain a lock
Abstract
According to at least one embodiment, a method includes determining that a thread desires a lock for accessing a resource. The method further includes dynamically determining a portion of the resource for which a lock is to be obtained for the thread, and obtaining the lock on the determined portion. According to at least one embodiment, a system includes a processor for executing a plurality of threads, and a resource usable by the plurality of threads. The threads are each operable to dynamically determine a portion of the resource for which a lock is to be obtained for the thread desiring to use the resource.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: determining that a thread desires a lock for accessing a resource that is sequentially divided into a plurality of portions; dynamically determining a portion of the resource for which the lock is to be obtained for the thread by: attempting, by the thread, trylock on a first portion of the resource; and attempting, by the thread, the trylock on another portion of the resource when the trylock on the first portion of the resource is unsuccessful, wherein the another portion is a next portion following the first portion in a designated sequence of the plurality of portions
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (5)
- "POSIX Threads Programming", [online] Retrieved on Mar. 2, 2005 Retrieved from: .llnl.gov/computing/tutorials/workshops/workshop/pthreads/MAIN.html 29 pages.
- Blumofe, R., et al., "Scheduling Multithreaded Computations by Work Stealing", IEEE FOCS '94, Nov. 20-22, 1994, 13 pages.
- Dubois, P. "C+ + Gets Faster for Scientific Computing" Computers in Physics, vol. 10, No. 5, Sep./Oct. 1996, pp. 458-462.
- Glinksy, E. et al "Modeling and Simulation of Hardware/Software Systems with C++", Proceedings of the 2004 Winter Simulation Conference, pp. 198-205.
- Glinsky, E. et al., "Modeling and Simulation of Hardware/Software Systems with CD+ + ", Proceedings of the 2004 Winter Simulation Conference, pp. 198-205.