rebuild
This commit is contained in:
parent
46fbbfda0f
commit
eefab15c72
@ -1,2 +1,2 @@
|
||||
97f1f28e352163cb841fb26dc05dced9fa8efde5
|
||||
sKIaNsJquU
|
||||
ddfef8425eef64cfcb82799c9bddca4bfa9bbd29
|
||||
2h8nvrnaHP
|
||||
|
@ -27,7 +27,7 @@
|
||||
<td class="docs">
|
||||
<p>The primary mechanism for managing state in Go is
|
||||
communication over channels. We saw this for example
|
||||
with <a href="worker-pool">worker pools</a>. There are a few other
|
||||
with <a href="worker-pools">worker pools</a>. There are a few other
|
||||
options for managing state though. Here we’ll
|
||||
look at using the <code>sync/atomic</code> package for <em>atomic
|
||||
counters</em> accessed by multiple goroutines.</p>
|
||||
@ -44,7 +44,7 @@ counters</em> accessed by multiple goroutines.</p>
|
||||
|
||||
</td>
|
||||
<td class="code leading">
|
||||
<a href="http://play.golang.org/p/sKIaNsJquU"><img title="Run code" src="play.png" class="run" /></a>
|
||||
<a href="http://play.golang.org/p/2h8nvrnaHP"><img title="Run code" src="play.png" class="run" /></a>
|
||||
<div class="highlight"><pre><span class="kn">package</span> <span class="nx">main</span>
|
||||
</pre></div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user