From: Pierre Kuo <vichy.kuo@xxxxxxxxx> In 6.5.1 Work-Queue Parallel Maze Solver, the line #4 and line #5 of listing 6.13 seem describe the cell 't' instead of cell 'n'. Signed-off-by: Pierre Kuo <vichy.kuo@xxxxxxxxx> --- SMPdesign/beyond.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SMPdesign/beyond.tex b/SMPdesign/beyond.tex index 72862c5..88e2b31 100644 --- a/SMPdesign/beyond.tex +++ b/SMPdesign/beyond.tex @@ -141,8 +141,8 @@ Line~20 initializes for the next pass through the outer loop. The pseudocode for \co{maze_try_visit_cell()} is shown on lines~1-12 of Listing~\ref{lst:SMPdesign:SEQ Helper Pseudocode} (\path{maze.c}). -Line~4 checks to see if cells \co{c} and \co{n} are adjacent and connected, -while line~5 checks to see if cell \co{n} has not yet been visited. +Line~4 checks to see if cells \co{c} and \co{t} are adjacent and connected, +while line~5 checks to see if cell \co{t} has not yet been visited. The \co{celladdr()} function returns the address of the specified cell. If either check fails, line~6 returns failure. Line~7 indicates the next cell, line~8 records this cell in the next -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe perfbook" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html