Methods for single-owner multi-consumer work queues for repeatable tasks
Abstract
There are provided methods for single-owner multi-consumer work queues for repeatable tasks. A method includes permitting a single owner thread of a single owner, multi-consumer, work queue to access the work queue using atomic instructions limited to only a single access and using non-atomic operations. The method further includes restricting the single owner thread from accessing the work queue using atomic instructions involving more than one access. The method also includes synchronizing amongst other threads with respect to their respective accesses to the work queue.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 5.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
A method, comprising: permitting a single owner thread of a single owner, multi-consumer, work queue to access the work queue using atomic instructions limited to only a single access and using non-atomic operations; restricting the single owner thread from accessing the work queue using atomic instructions involving more than one access; and synchronizing amongst other threads with respect to their respective accesses to the work queue, wherein the atomic instructions limited to only a single access consist of only one of a single read or a single write.
- Claim 2Depends on #1
The method of claim 1 , further comprising prohibiting the single owner thread from re-writing, to the work queue, shared, non-initialization-related variables that have already been written by the other threads to the work queue.
- Claim 3Independent Claim
The method of
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (12)
Non-Patent Literature (4)
- Arora et al., Thread Scheduling for Multiprogrammed Multiprocessors; SPAA '98; Puerto Vallarta, Mexico; 1998; pp. 119-129.
- Chase et al., Dynamic Circular Work-Stealing Deque; SPAA '05 Jul. 18-20, 2005; Las Vegas, NV; pp. 21-28.
- Hendler et al., Non-Blocking Steal-Half Work Options; PODC 2002; Jul. 21-24, 2002; Monterey, CA; pp. 280-289.
- Maged M. Michael; Hazard Pointers: Safe Memory Reclamation for Lock-Free Objects; IEEE Transactions on Parallel and Distributed Systems; vol. 15, No. 6; Jun. 2004; pp. 491-504.