From a15c5ef45f33bdafaca3e0ae1684936640482f09 Mon Sep 17 00:00:00 2001 From: Joseph Muia Date: Wed, 25 Jul 2018 22:03:51 -0400 Subject: [PATCH] Fix reference. Global variables live in the global segment. --- book/book.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/book.tex b/book/book.tex index cd04cb3..c7c4c94 100644 --- a/book/book.tex +++ b/book/book.tex @@ -3278,7 +3278,7 @@ \chapter{Threads} they run the same code. But different threads often run different parts of the code. -And they share the same static segment, so if one thread changes a +And they share the same global segment, so if one thread changes a global variable, other threads see the change. They also share the heap, so threads can share dynamically-allocated chunks.