Package0.2.4DataConcurrent
lockfree-queue
Michael and Scott lock-free queues.
- Version0.2.4
- CategoryData, Concurrent
- LicenceBSD-3-Clause
- AuthorRyan R. Newton
- Maintainerrrnewton@gmail.com
- Homepagegithub.com/rrnewton/haskell-lockfree/wiki
- Pinned byhackage lockfree-queue 0.2.4
- Sourcehackage.haskell.org/package/lockfree-queue-0.2.4
Modules
2 modules- Data.Concurrent.Queue.MichaelScott5Michael and Scott lock-free, single-ended queues. This is a straightforward implementation of classic Michael & Scott Queues.
- Data.Concurrent.Queue.MichaelScott.DequeInstance0
Description
Michael and Scott queues are described in their PODC 1996 paper:
http://dl.acm.org/citation.cfm?id=248052.248106
These are single-ended concurrent queues based on a singlly linked list and using atomic CAS instructions to swap the tail pointers. As a well-known efficient algorithm they became the basis for Java's ConcurrentLinkedQueue.
Depends on
4 packages- abstract-deque-0.3in this set
- atomic-primops-0.8.8in this set
- base-4.20.2.0with GHC
- ghc-prim-0.12.0with GHC