>From 0d7e7b86bf743ee1646b705f246bc50e38d23803 Mon Sep 17 00:00:00 2001 From: Akira Yokosawa <akiyks@xxxxxxxxx> Date: Tue, 20 Nov 2018 00:03:43 +0900 Subject: [PATCH 0/3] locking: Update code snippets Hi Paul, This is another set of patches to apply new code-snippet scheme in Chapter 7. Patch #1 does the simple substitutions. Patch #2 replaces remaining ACCESS_ONCE()s in Chapter 7 and CodeSamples/locking. It also adds a couple of READ_ONCE() and WRITE_ONCE() in xchglock.c. Patch #3 fixes the use of "figure" referencing code snippets. Thanks, Akira -- Akira Yokosawa (3): locking: Employ new snippet scheme locking: Get rid of ACCESS_ONCE() locking: Fix reference to code snippet by "figure" CodeSamples/locking/locked_list.c | 29 ++- CodeSamples/locking/xchglock.c | 32 +-- locking/locking-existence.tex | 108 ++++----- locking/locking.tex | 473 +++++++++++++++++--------------------- 4 files changed, 299 insertions(+), 343 deletions(-) -- 2.7.4