-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathREADME
More file actions
34 lines (25 loc) · 1.06 KB
/
Copy pathREADME
File metadata and controls
34 lines (25 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Multi-Core Toolbox
==================
Some basic tools for high performance Multi-Core computing.
Including:
Lockless Single producer single consumer concurrent queue
------------------------------------------------
To have producer and consumer work concurrently/parallely
without using locks.
Published by Maged M. Michael and Michael L. Scott: "Simple,
Fast, and Practical Non-Blocking and Blocking Concurrent Queue
Algorithms", PODC96.
Lock-free Multi-producer multi-consumer queue
---------------------------------------------
Published by Maged M. Michael and Michael L. Scott in the same
article.
MCS-lock
--------
Algorithm published on ACM TOCS, February 1991, by John M.
Mellor-Crummey and Michael L. Scott.
http://www.cs.rochester.edu/u/scott/papers/1991_TOCS_synch.pdf
- guarantees FIFO ordering of lock acquisitions;
- spins on locally-accessible flag variables only;
- requires a small constant amount of space per lock; and
- works equally well (requiring only O(1) network transactions per lock
acquisition) on machines with and without coherent caches.