Cache management in a multi-threaded environment
Abstract
Disclosed here are methods, systems, paradigms and structures for deleting shared resources from a cache in a multi-threaded system. The shared resources can be used by a plurality of requests belonging to multiple threads executing in the system. When requests, such as requests for executing script code, and work items, such as work items for deleting a shared resource, are created, a global sequence number is assigned to each of them. The sequence number indicates the order in which the requests and work items are created. A particular work item can be executed to delete the shared resource if there are no requests having a sequence number lesser than that of the particular work item executing in the system. However, if there is at least one request with a sequence number lesser than that of the particular work item executing, the work item is ignored until the request completes executing.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method, comprising: creating, by a request executing in a computer system, a work item for removing a shared resource, the request being one of multiple requests, wherein the multiple requests access at least a portion of the shared resource, each of the requests associated with a sequence number indicating a sequence in which the requests are created, the creating including: obtaining the sequence number of a most recently created request in the computer system, and assigning a next sequence number to the work item, the next sequence number being next in the sequence to
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (14)
Non-Patent Literature (3)
- Co-Pending U.S. Appl. No. 13/849,148 by Adams, K., et al., filed Mar. 22, 2013.
- Non-Final Office Action dated Aug. 14, 2015 of U.S. Appl. No. 13/849,148 by Adams, K., et al., filed Mar. 22, 2013.
- Notice of Allowance dated May 6, 2016 of U.S. Appl. No. 13/849,148 by Adams, K., et al., filed Mar. 22, 2013.