Discussions of the Parallel Programming book
 help / color / mirror / Atom feed
* [PATCH 1/2] locking: fix typo
@ 2017-11-02  6:57 pierre Kuo
  2017-11-02  6:57 ` [PATCH 2/2] SMPdesign: " pierre Kuo
  2017-11-02 22:51 ` [PATCH 1/2] locking: " Paul E. McKenney
  0 siblings, 2 replies; 6+ messages in thread
From: pierre Kuo @ 2017-11-02  6:57 UTC (permalink / raw)
  To: perfbook; +Cc: Pierre Kuo

From: Pierre Kuo <vichy.kuo@gmail.com>

In 7.1.1.2 Local Locking Hierarchies, below left parenthesis seems
better to be comma.

"before invoking the comparison function
(which is unknown code from qsort()’s perspective,"
^^^ change it as comma.

Signed-off-by: Pierre Kuo <vichy.kuo@gmail.com>
---
 locking/locking.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/locking/locking.tex b/locking/locking.tex
index 12a0240..5921f50 100644
--- a/locking/locking.tex
+++ b/locking/locking.tex
@@ -327,7 +327,7 @@ But the first thread holds Lock~C, so the second thread's call to
 Lock~B, resulting in deadlock.

 In contrast, if \co{qsort()} releases Lock~C before invoking the
-comparison function (which is unknown code from \co{qsort()}'s perspective,
+comparison function ,which is unknown code from \co{qsort()}'s perspective,
 then deadlock is avoided as shown in
 Figure~\ref{fig:lock:Local Locking Hierarchy for qsort()}.

-- 
1.9.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-11-03 14:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-02  6:57 [PATCH 1/2] locking: fix typo pierre Kuo
2017-11-02  6:57 ` [PATCH 2/2] SMPdesign: " pierre Kuo
2017-11-02 22:51 ` [PATCH 1/2] locking: " Paul E. McKenney
2017-11-03 13:23   ` pierre kuo
2017-11-03 14:02     ` Paul E. McKenney
2017-11-03 14:41       ` pierre kuo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox