Skip to content
Snippets Groups Projects
Commit 436eef23 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

tools/memory-model: Add example for heuristic lockless reads


This commit adds example code for heuristic lockless reads, based loosely
on the sem_lock() and sem_unlock() functions.

[ paulmck: Apply Alan Stern and Manfred Spraul feedback. ]

Reported-by: default avatarManfred Spraul <manfred@colorfullife.com>
[ paulmck: Update per Manfred Spraul and Hillf Danton feedback. ]
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 1846a7fa
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment