diff --git a/public/atomic-counters b/public/atomic-counters index a68e139..0139cb8 100644 --- a/public/atomic-counters +++ b/public/atomic-counters @@ -143,7 +143,7 @@ function the memory address &ops from which to fetch the value.

- +
    opsFinal := atomic.LoadUint64(&ops)
     fmt.Println("ops:", opsFinal)
 }
@@ -152,17 +152,6 @@ fetch the value.

- - -

Next we’ll look at another approach to managing state: -mutexes.

- - - - - - -