Address potential widowing of headings
cover Address potential widowing of headings
Hi Paul,
There was some confusion on my side WRT undesired page/column breaks.
While testing the added checks in cleverefcheck.pl, I saw too many potential such cases flagged. This made me do some tests to reproduce unfortunate page/column breaks.
There are three such patterns I have confirmed.
1. "listing" environment (with contents of fancyvrb) next to proper LaTeX headings (\chapter, \section, \subsection, etc.)
2. Any environment (not necessarily float) next to QQA heading of "Answer:"
3. Any environment (not necessarily float) next to epigraph
This means commit f106e0e6dc43 ("defer/rcuusage: Move float objects away of section titles") has no merit. It is safe to revert it if you'd like. I was confused by patterns 2 and 3 and thought that floating objects can cause undesired breaks.
Patches 1/4--3/4 add tests in cleverefcheck.pl that check patterns listed above respectively.
Patch 4/4 fixes problematic places flagged by the updated script. Feel free to wordsmith the leading phrases I added in QQAs.
Thanks, Akira
--
Akira Yokosawa (4):
cleverefcheck.pl: Add test of listing next to heading cleverefcheck.pl: Add test of \begin{...} at head of QQA cleverefcheck.pl: Add test of \begin{...} next to epigraph
treewide: Address potential widowing of headings
appendix/questions/after.tex | 4 +++ datastruct/datastruct.tex | 14 +++++----- defer/refcnt.tex | 24 ++++++++--------- formal/axiomatic.tex | 22 +++++++-------- locking/locking-existence.tex | 9 ++++--- memorder/memorder.tex | 6 ++--- utilities/cleverefcheck.pl | 50 +++++++++++++++++++++++++++++++++++ 7 files changed, 92 insertions(+), 37 deletions(-)
base-commit: f106e0e6dc436683bb119dd8992c6f173994d182
Signature · 1 line
2.17.1
PATCH 1/4 cleverefcheck.pl: Add test of listing next to heading
There is a side effect of fancyvrb, or the Verbatim{L|N|U} environments derived from Verbatim, in that floating "listing" environments placed just next to chapter/section headings are treated as page/column-break candidates, and results in a widowed heading.
Other floating objects such as "figure" and "table" do not have this issue as long as they are free of fancyvrb.
Add tests to detect "listing" environments who come next to \chapter/\section/\subsection/... commands.
--- utilities/cleverefcheck.pl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
utilities/cleverefcheck.pl +18 -0
@@ -25,8 +25,11 @@ my $IX_ptn = qr/(^|\s+)IX[^\s\{]*{/ ; my $api_ptn = qr/(^|\s+)api[^\s\{]*{/ ; my $ppl_ptn = qr/(^|\s+)ppl[^\s\{]*{/ ; my $acr_ptn = qr/(^|\s+)[aA]cr[^\s\{]*{/ ; +my $heading_ptn = qr/(\\chapter|\\section|\\subsection|\\subsubsection)/ ; +my $listing_ptn = qr/\\begin\{(listing|Verbatim)/ ; my $in_footnote = 0 ; my $footnote_save = 0; +my $after_heading = 0; sub check_line { my $raw_line = $line;
@@ -102,6 +105,18 @@ sub check_line { print $ARGV[0], ':', $line_num, ':', $raw_line; } } + if ($after_heading) { + if ($line =~ /^\s*$/) { + # ignore empty/blank line + } + if ($line =~ /^\s*\{*[A-Za-z0-9]/) { + $after_heading = 0 ; # normal line, OK + } + if ($line =~ /$listing_ptn/) { + print $ARGV[0], ':', $line_num, ':', $raw_line, "^^^ listing next to heading ^^^\n"; + $after_heading = 0 ; + } + } if ($line =~ /$Verbatim_end/) { $skip = 0; } else {
@@ -135,6 +150,9 @@ sub check_line { } } } + if ($line =~ /$heading_ptn/) { + $after_heading = 1 ; + } } open(my $fh, '<:encoding(UTF-8)', $ARGV[0])
Signature · 1 line
2.17.1
PATCH 2/4 cleverefcheck.pl: Add test of \begin{...} at head of QQA
In reply to Akira YokosawaQQA's heading of "Answer:" looks similar to a section heading, but it behaves differently when there is some environment next to it.
Also, if there is an empty line at the head of QQA, "Answer:" can be widowed.
Add tests to detect such potential break patterns in QQA.
Note: \begin{fcvref} is an exception. It doesn't induce page/column break.
--- utilities/cleverefcheck.pl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
utilities/cleverefcheck.pl +17 -0
@@ -27,9 +27,11 @@ my $ppl_ptn = qr/(^|\s+)ppl[^\s\{]*{/ ; my $acr_ptn = qr/(^|\s+)[aA]cr[^\s\{]*{/ ; my $heading_ptn = qr/(\\chapter|\\section|\\subsection|\\subsubsection)/ ; my $listing_ptn = qr/\\begin\{(listing|Verbatim)/ ; +my $qqa_ptn = qr/\\E?QuickQuizAnswer[BEM]?/ ; my $in_footnote = 0 ; my $footnote_save = 0; my $after_heading = 0; +my $after_qqa = 0; sub check_line { my $raw_line = $line;
@@ -117,6 +119,18 @@ sub check_line { $after_heading = 0 ; } } + if ($after_qqa) { + if ($line =~ /^\s*$/) { + print $ARGV[0], ':', $line_num, ':', $raw_line, "~~~ Empty line at QQA head ^^^\n" ; + } + if ($line =~ /^\s*\\begin/ && $line !~ /fcvref/) { + print $ARGV[0], ':', $line_num, ':', $raw_line, "^^^ environment next to QQA ~~~\n"; + $after_qqa = 0 ; + } + if ($line =~ /^\s*\{*[^\\]+/) { + $after_qqa = 0; + } + } if ($line =~ /$Verbatim_end/) { $skip = 0; } else {
@@ -153,6 +167,9 @@ sub check_line { if ($line =~ /$heading_ptn/) { $after_heading = 1 ; } + if ($line =~ /$qqa_ptn/) { + $after_qqa = 1 ; + } } open(my $fh, '<:encoding(UTF-8)', $ARGV[0])
Signature · 1 line
2.17.1
PATCH 3/4 cleverefcheck.pl: Add test of \begin{...} next to epigraph
In reply to Akira YokosawaIf a section heading has an epigraph next to it and an environment of some sort follows the epigraph, the behavior of a proper LaTeX heading is lost.
Add tests to detect such potential break patterns following epigraphs.
Notes:
o "Any environment" does not include "fcvref".
o "listing" is caught by other tests for it.
o glossary.tex has "description" list next to its epigraph. As it is at the head of an appendix and won't cause page/colum break, it is ignored.
--- utilities/cleverefcheck.pl | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
utilities/cleverefcheck.pl +15 -0
@@ -28,10 +28,12 @@ my $acr_ptn = qr/(^|\s+)[aA]cr[^\s\{]*{/ ; my $heading_ptn = qr/(\\chapter|\\section|\\subsection|\\subsubsection)/ ; my $listing_ptn = qr/\\begin\{(listing|Verbatim)/ ; my $qqa_ptn = qr/\\E?QuickQuizAnswer[BEM]?/ ; +my $epig_ptn = qr/\\[Ee]pigraph/ ; my $in_footnote = 0 ; my $footnote_save = 0; my $after_heading = 0; my $after_qqa = 0; +my $after_epig = 0; sub check_line { my $raw_line = $line;
@@ -117,6 +119,7 @@ sub check_line { if ($line =~ /$listing_ptn/) { print $ARGV[0], ':', $line_num, ':', $raw_line, "^^^ listing next to heading ^^^\n"; $after_heading = 0 ; + $after_epig = 0 ; # after epigraph or not does not matter for listing } } if ($after_qqa) {
@@ -131,6 +134,15 @@ sub check_line { $after_qqa = 0; } } + if ($after_epig) { + if ($line =~ /^\s*$/) { # empty line ends epigraph + $after_epig -= 1 ; + } + if ($line =~ /^\s*\\begin/ && $line !~ /(fcvref|listing)/) { + print $ARGV[0], ':', $line_num, ':', $raw_line, "^^^ environment next to epigraph ^^^\n"; + $after_epig = 0 ; + } + } if ($line =~ /$Verbatim_end/) { $skip = 0; } else {
@@ -170,6 +182,9 @@ sub check_line { if ($line =~ /$qqa_ptn/) { $after_qqa = 1 ; } + if ($line =~ /$epig_ptn/ && $ARGV[0] !~ /glossary\.tex/) { # exempt glossary.tex + $after_epig = 2 ; + } } open(my $fh, '<:encoding(UTF-8)', $ARGV[0])
Signature · 1 line
2.17.1
PATCH 4/4 treewide: Address potential widowing of headings
In reply to Akira YokosawaFix potential page/column break patterns flagged by the updated cleverefcheck.pl.
o Move code snippets away from section headings.
o Add leading phrases to enumerate lists in QQAs.
--- appendix/questions/after.tex | 4 ++++ datastruct/datastruct.tex | 14 +++++++------- defer/refcnt.tex | 24 ++++++++++++------------ formal/axiomatic.tex | 22 +++++++++++----------- locking/locking-existence.tex | 9 +++++---- memorder/memorder.tex | 6 +++--- 6 files changed, 42 insertions(+), 37 deletions(-)
appendix/questions/after.tex +4 -0
@@ -38,6 +38,8 @@ e.g., where time has appeared to go backwards. What SMP coding errors can you see in these examples? See \path{time.c} for full code. }\QuickQuizAnswer{ + Here are errors you'd find: + \begin{enumerate} \item Missing barrier() or volatile on tight loops. \item Missing memory barriers on update side.
@@ -173,6 +175,8 @@ seq & \multicolumn{1}{c}{time (seconds)} & delta~ & a & b & c \\ consumer reads? See \path{timelocked.c} for full code. }\QuickQuizAnswer{ + Here are possible scenarios: + \begin{enumerate} \item The consumer might be preempted for long time periods. \item A long-running interrupt might delay the consumer.
datastruct/datastruct.tex +7 -7
@@ -1067,13 +1067,6 @@ or all of the above. You can't cross a chasm in two small steps.} {\emph{David Lloyd George}} -\begin{figure} -\centering -\resizebox{3in}{!}{\includegraphics{cartoons/2014_Hash-table-hydra}} -\caption{Partitioning Problems} -\ContributedBy{Figure}{fig:datastruct:Partitioning Problems}{Melissa Broussard} -\end{figure} - Fixed-size hash tables are perfectly partitionable, but resizable hash tables pose partitioning challenges when growing or shrinking, as fancifully depicted in
@@ -1081,6 +1074,13 @@ fancifully depicted in However, it turns out that it is possible to construct high-performance scalable RCU-protected hash tables, as described in the following sections. +\begin{figure} +\centering +\resizebox{3in}{!}{\includegraphics{cartoons/2014_Hash-table-hydra}} +\caption{Partitioning Problems} +\ContributedBy{Figure}{fig:datastruct:Partitioning Problems}{Melissa Broussard} +\end{figure} + \subsection{Resizable Hash Table Design} \label{sec:datastruct:Resizable Hash Table Design}
defer/refcnt.tex +12 -12
@@ -7,18 +7,6 @@ % \epigraph{I am never letting you go!}{Unknown} -\begin{listing} -\input{CodeSamples/defer/[email protected]} -\caption{Reference-Counted Pre-BSD Routing Table Lookup (BUGGY!!!)} -\label{lst:defer:Reference-Counted Pre-BSD Routing Table Lookup} -\end{listing} - -\begin{listing} -\input{CodeSamples/defer/route_refcnt@add_del.fcv} -\caption{Reference-Counted Pre-BSD Routing Table Add\slash Delete (BUGGY!!!)} -\label{lst:defer:Reference-Counted Pre-BSD Routing Table Add/Delete} -\end{listing} - Reference counting tracks the number of references to a given object in order to prevent that object from being prematurely freed. As such, it has a long and honorable history of use dating back to
@@ -35,6 +23,18 @@ on while that worker is inside. Reference counting is thus an excellent time-honored candidate for a concurrent implementation of Pre-BSD routing. +\begin{listing} +\input{CodeSamples/defer/[email protected]} +\caption{Reference-Counted Pre-BSD Routing Table Lookup (BUGGY!!!)} +\label{lst:defer:Reference-Counted Pre-BSD Routing Table Lookup} +\end{listing} + +\begin{listing} +\input{CodeSamples/defer/route_refcnt@add_del.fcv} +\caption{Reference-Counted Pre-BSD Routing Table Add\slash Delete (BUGGY!!!)} +\label{lst:defer:Reference-Counted Pre-BSD Routing Table Add/Delete} +\end{listing} + To that end, \cref{lst:defer:Reference-Counted Pre-BSD Routing Table Lookup} shows data structures and the \co{route_lookup()} function and
formal/axiomatic.tex +11 -11
@@ -9,6 +9,17 @@ \epigraph{Theory helps us to bear our ignorance of facts.} {\emph{George Santayana}} +Although the PPCMEM tool can solve the famous ``independent reads of +independent writes'' (IRIW) litmus test shown in +\cref{lst:formal:IRIW Litmus Test}, doing so requires no less than +fourteen CPU hours and generates no less than ten gigabytes of state space. +That said, this situation is a great improvement over that before the advent +of PPCMEM, where solving this problem required perusing volumes of +reference manuals, attempting proofs, discussing with experts, and +being unsure of the final answer. +Although fourteen hours can seem like a long time, it is much shorter +than weeks or even months. + \begin{listing} \begin{fcvlabel}[ln:formal:IRIW Litmus Test] \begin{VerbatimL}[commandchars=\%\@\$]
@@ -34,17 +45,6 @@ exists \label{lst:formal:IRIW Litmus Test} \end{listing} -Although the PPCMEM tool can solve the famous ``independent reads of -independent writes'' (IRIW) litmus test shown in -\cref{lst:formal:IRIW Litmus Test}, doing so requires no less than -fourteen CPU hours and generates no less than ten gigabytes of state space. -That said, this situation is a great improvement over that before the advent -of PPCMEM, where solving this problem required perusing volumes of -reference manuals, attempting proofs, discussing with experts, and -being unsure of the final answer. -Although fourteen hours can seem like a long time, it is much shorter -than weeks or even months. - However, the time required is a bit surprising given the simplicity of the litmus test, which has two threads storing to two separate variables and two other threads loading from these two variables in opposite
locking/locking-existence.tex +5 -4
@@ -7,6 +7,11 @@ % \epigraph{Existence precedes and rules essence.}{\emph{Jean-Paul Sartre}} +A key challenge in parallel programming is to provide +\emph{existence guarantees}~\cite{Gamsa99}, +so that attempts to access a given object can rely on that object +being in existence throughout a given access attempt. + \begin{listing} \begin{fcvlabel}[ln:locking:Per-Element Locking Without Existence Guarantees] \begin{VerbatimL}[commandchars=\\\@\$]
@@ -31,10 +36,6 @@ int delete(int key) \label{lst:locking:Per-Element Locking Without Existence Guarantees} \end{listing} -A key challenge in parallel programming is to provide -\emph{existence guarantees}~\cite{Gamsa99}, -so that attempts to access a given object can rely on that object -being in existence throughout a given access attempt. In some cases, existence guarantees are implicit: \begin{enumerate}
memorder/memorder.tex +3 -3
@@ -1967,13 +1967,13 @@ This means that the \co{exists} clause on \clnref{exists} really can trigger. But it is not necessary to worry about propagation unless there are at least three threads in the litmus test, right? }\QuickQuizAnswer{ + Wrong. + \begin{listing} \input{CodeSamples/formal/litmus/[email protected]} \caption{R Litmus Test With Write Memory Barrier (No Ordering)} \label{lst:memorder:R Litmus Test With Write Memory Barrier (No Ordering)} -\end{listing}% -% - Wrong. +\end{listing} \begin{fcvref}[ln:formal:C-R+o-wmb-o+o-mb-o:whole] \Cref{lst:memorder:R Litmus Test With Write Memory Barrier (No Ordering)}
Signature · 1 line
2.17.1
Paul E. McKenney
AppliedQuoted 24 lines · Akira Yokosawa
Hi Paul,
There was some confusion on my side WRT undesired page/column breaks.
While testing the added checks in cleverefcheck.pl, I saw too many potential such cases flagged. This made me do some tests to reproduce unfortunate page/column breaks.
There are three such patterns I have confirmed.
1. "listing" environment (with contents of fancyvrb) next to proper LaTeX headings (\chapter, \section, \subsection, etc.)
2. Any environment (not necessarily float) next to QQA heading of "Answer:"
3. Any environment (not necessarily float) next to epigraph
This means commit
f106e0e6dc43("defer/rcuusage: Move float objects away of section titles") has no merit. It is safe to revert it if you'd like. I was confused by patterns 2 and 3 and thought that floating objects can cause undesired breaks.
Quoted 5 lines
Patches 1/4--3/4 add tests in cleverefcheck.pl that check patterns listed above respectively.
Patch 4/4 fixes problematic places flagged by the updated script. Feel free to wordsmith the leading phrases I added in QQAs.
Queued and pushed with minor wordsmithing to parts of 4/4, thank you!
Thanx, Paul
Quoted 22 lines
Thanks, Akira
--
Akira Yokosawa (4):
cleverefcheck.pl: Add test of listing next to heading cleverefcheck.pl: Add test of \begin{...} at head of QQA cleverefcheck.pl: Add test of \begin{...} next to epigraph
treewide: Address potential widowing of headingsappendix/questions/after.tex | 4 +++ datastruct/datastruct.tex | 14 +++++----- defer/refcnt.tex | 24 ++++++++--------- formal/axiomatic.tex | 22 +++++++-------- locking/locking-existence.tex | 9 ++++--- memorder/memorder.tex | 6 ++--- utilities/cleverefcheck.pl | 50 +++++++++++++++++++++++++++++++++++ 7 files changed, 92 insertions(+), 37 deletions(-)base-commit:
f106e0e6dc436683bb119dd8992c6f173994d182Signature · 1 line
2.17.1
Quoted 25 lines · Paul E. McKenney
Quoted 24 lines · Akira Yokosawa
Hi Paul,
There was some confusion on my side WRT undesired page/column breaks.
While testing the added checks in cleverefcheck.pl, I saw too many potential such cases flagged. This made me do some tests to reproduce unfortunate page/column breaks.
There are three such patterns I have confirmed.
1. "listing" environment (with contents of fancyvrb) next to proper LaTeX headings (\chapter, \section, \subsection, etc.)
2. Any environment (not necessarily float) next to QQA heading of "Answer:"
3. Any environment (not necessarily float) next to epigraph
This means commit
f106e0e6dc43("defer/rcuusage: Move float objects away of section titles") has no merit. It is safe to revert it if you'd like. I was confused by patterns 2 and 3 and thought that floating objects can cause undesired breaks.
Quoted 8 lines
Quoted 5 lines
Patches 1/4--3/4 add tests in cleverefcheck.pl that check patterns listed above respectively.
Patch 4/4 fixes problematic places flagged by the updated script. Feel free to wordsmith the leading phrases I added in QQAs.
Queued and pushed with minor wordsmithing to parts of 4/4, thank you!
So the diff below looks somewhat out of context, because the Quiz part of QQ A.2 is "How could there be such a large gap between successive consumer reads?".
----
@@ -175,7 +175,7 @@ seq & \multicolumn{1}{c}{time (seconds)} & delta~ & a & b & c \\
consumer reads?
See \path{timelocked.c} for full code.
}\QuickQuizAnswer{
- Here are possible scenarios:
+ Here are a few of the errors:
\begin{enumerate}
\item The consumer might be preempted for long time periods.
----
Thoughts?
Thanks, Akira
Quoted 25 lines
Thanx, Paul
Quoted 22 lines
Thanks, Akira
--
Akira Yokosawa (4):
cleverefcheck.pl: Add test of listing next to heading cleverefcheck.pl: Add test of \begin{...} at head of QQA cleverefcheck.pl: Add test of \begin{...} next to epigraph
treewide: Address potential widowing of headingsappendix/questions/after.tex | 4 +++ datastruct/datastruct.tex | 14 +++++----- defer/refcnt.tex | 24 ++++++++--------- formal/axiomatic.tex | 22 +++++++-------- locking/locking-existence.tex | 9 ++++--- memorder/memorder.tex | 6 ++--- utilities/cleverefcheck.pl | 50 +++++++++++++++++++++++++++++++++++ 7 files changed, 92 insertions(+), 37 deletions(-)base-commit:
f106e0e6dc436683bb119dd8992c6f173994d182Signature · 1 line
2.17.1
Quoted 51 lines · Akira Yokosawa
Quoted 25 lines · Paul E. McKenney
Quoted 24 lines · Akira Yokosawa
Hi Paul,
There was some confusion on my side WRT undesired page/column breaks.
While testing the added checks in cleverefcheck.pl, I saw too many potential such cases flagged. This made me do some tests to reproduce unfortunate page/column breaks.
There are three such patterns I have confirmed.
1. "listing" environment (with contents of fancyvrb) next to proper LaTeX headings (\chapter, \section, \subsection, etc.)
2. Any environment (not necessarily float) next to QQA heading of "Answer:"
3. Any environment (not necessarily float) next to epigraph
This means commit
f106e0e6dc43("defer/rcuusage: Move float objects away of section titles") has no merit. It is safe to revert it if you'd like. I was confused by patterns 2 and 3 and thought that floating objects can cause undesired breaks.Quoted 8 lines
Quoted 5 lines
Patches 1/4--3/4 add tests in cleverefcheck.pl that check patterns listed above respectively.
Patch 4/4 fixes problematic places flagged by the updated script. Feel free to wordsmith the leading phrases I added in QQAs.
Queued and pushed with minor wordsmithing to parts of 4/4, thank you!
So the diff below looks somewhat out of context, because the Quiz part of QQ A.2 is "How could there be such a large gap between successive consumer reads?".
----
(quoted diff) +1
-2@@ -175,7 +175,7 @@ seq & \multicolumn{1}{c}{time (seconds)} & delta~ & a & b & c \\ consumer reads? See \path{timelocked.c} for full code. }\QuickQuizAnswer{ - Here are possible scenarios: + Here are a few of the errors: \begin{enumerate} \item The consumer might be preempted for long time periods. ----
Quoted 1 line
Thoughts?
I changed this to "Here are a few reasons for such gaps:". Does that work for you?
Thanx, Paul
Quoted 27 lines
Thanks, Akira
Quoted 25 lines
Thanx, Paul
Quoted 22 lines
Thanks, Akira
--
Akira Yokosawa (4):
cleverefcheck.pl: Add test of listing next to heading cleverefcheck.pl: Add test of \begin{...} at head of QQA cleverefcheck.pl: Add test of \begin{...} next to epigraph
treewide: Address potential widowing of headingsappendix/questions/after.tex | 4 +++ datastruct/datastruct.tex | 14 +++++----- defer/refcnt.tex | 24 ++++++++--------- formal/axiomatic.tex | 22 +++++++-------- locking/locking-existence.tex | 9 ++++--- memorder/memorder.tex | 6 ++--- utilities/cleverefcheck.pl | 50 +++++++++++++++++++++++++++++++++++ 7 files changed, 92 insertions(+), 37 deletions(-)base-commit:
f106e0e6dc436683bb119dd8992c6f173994d182Signature · 1 line
2.17.1
Quoted 1 line · Paul E. McKenney
On Thu, Dec 09, 2021 at 07:20:20AM +0900, Akira Yokosawa wrote:
[...]
Quoted 12 lines
Quoted 12 lines
So the diff below looks somewhat out of context, because the Quiz part of QQ A.2 is "How could there be such a large gap between successive consumer reads?".
----
(quoted diff) +1
-1@@ -175,7 +175,7 @@ seq & \multicolumn{1}{c}{time (seconds)} & delta~ & a & b & c \\ consumer reads? See \path{timelocked.c} for full code. }\QuickQuizAnswer{ - Here are possible scenarios: + Here are a few of the errors:
Quoted 8 lines
Quoted 5 lines
(quoted diff) +0
-1\begin{enumerate} \item The consumer might be preempted for long time periods. ----Thoughts?
I changed this to "Here are a few reasons for such gaps:". Does that work for you?
Works for me!
Thanks, Akira
Quoted 4 lines
Thanx, Paul
Quoted 1 line
Thanks, Akira
[...]
Quoted 20 lines · Akira Yokosawa
Quoted 1 line · Paul E. McKenney
On Thu, Dec 09, 2021 at 07:20:20AM +0900, Akira Yokosawa wrote:
[...]
Quoted 16 lines
Quoted 16 lines
So the diff below looks somewhat out of context, because the Quiz part of QQ A.2 is "How could there be such a large gap between successive consumer reads?".
----
(quoted diff) +1
-2@@ -175,7 +175,7 @@ seq & \multicolumn{1}{c}{time (seconds)} & delta~ & a & b & c \\ consumer reads? See \path{timelocked.c} for full code. }\QuickQuizAnswer{ - Here are possible scenarios: + Here are a few of the errors: \begin{enumerate} \item The consumer might be preempted for long time periods. ----
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Thoughts?
I changed this to "Here are a few reasons for such gaps:". Does that work for you?
Works for me!
Works for me too ;-)
Quoted 8 lines
Thanks, Akira
Quoted 4 lines
Thanx, Paul
Quoted 1 line
Thanks, Akira
[...]
Thanks, Zhouyi