From e02762193c6be58632f45e97ee5252681511dc94 Mon Sep 17 00:00:00 2001 From: Mark McGranaghan Date: Sun, 20 Oct 2013 14:36:12 -0700 Subject: [PATCH] Rebuild --- .../stateful-goroutines/stateful-goroutines.hash | 4 ++-- public/stateful-goroutines | 15 ++------------- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/examples/stateful-goroutines/stateful-goroutines.hash b/examples/stateful-goroutines/stateful-goroutines.hash index 1d50d4a..91c1719 100644 --- a/examples/stateful-goroutines/stateful-goroutines.hash +++ b/examples/stateful-goroutines/stateful-goroutines.hash @@ -1,2 +1,2 @@ -0005e59edec522954b80e46279a207aa7f80df59 -8Qxa8MHXAv +9b7362872b9984296fd919441c2b6928ae0d70c1 +qHTT2jOKkS diff --git a/public/stateful-goroutines b/public/stateful-goroutines index 9fa5dc2..7d97880 100644 --- a/public/stateful-goroutines +++ b/public/stateful-goroutines @@ -46,7 +46,7 @@ by exactly 1 goroutine.

- +
package main
 
@@ -156,18 +156,7 @@ value in the case of reads).

    go func() {
         var state = make(map[int]int)
-
- - - - - - - - - - -
        for {
+        for {
             select {
             case read := <-reads:
                 read.resp <- state[read.key]