<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>goodbyegangster</author_name>
  <author_url>https://blog.hatena.ne.jp/goodbyegangster/</author_url>
  <blog_title>goodbyegangsterのブログ</blog_title>
  <blog_url>https://goodbyegangster.hatenablog.com/</blog_url>
  <categories>
    <anon>Go</anon>
  </categories>
  <description>「Go 言語で学ぶ並行プログラミング」で紹介されていたパターンを記録しています。 Go言語で学ぶ並行プログラミング 他言語にも適用できる原則とベストプラクティス impress top gearシリーズ作者:James Cutajar,柴田 芳樹インプレスAmazon SRC モデル（共有メモリモデル） 共有データへのアクセスを制御し、メモリの整合性を保つ手法。 Mutex 排他制御。 package main import ( &quot;fmt&quot; &quot;sync&quot; &quot;time&quot; ) func main() { num := 0 mutex := sync.Mutex{} go add(&amp;num, &amp;mu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgoodbyegangster.hatenablog.com%2Fentry%2F2026%2F02%2F04%2F010824&quot; title=&quot;Go の並行プログラミング - goodbyegangsterのブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://m.media-amazon.com/images/I/51wZEHUKZiL._SL500_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-02-04 01:08:24</published>
  <title>Go の並行プログラミング</title>
  <type>rich</type>
  <url>https://goodbyegangster.hatenablog.com/entry/2026/02/04/010824</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
