<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>silight_jp</author_name>
  <author_url>https://blog.hatena.ne.jp/silight_jp/</author_url>
  <blog_title>しらいとブログ</blog_title>
  <blog_url>https://silight.hatenablog.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>C++</anon>
    <anon>マルチスレッド</anon>
  </categories>
  <description>C++11で高速な同期手法としてアトミック変数やメモリフェンス（普通はメモリバリアと呼ぶ）が追加されました。 これらの命令では memory_order を指定できるのですが、違いが分かりづらいのでまとめてみました。 なお、正確な名前はmemory_order_relaxed、memory_order_acquire、memory_order_release、memory_order_consume、memory_order_acq_rel、memory_order_seq_cst ですが、長いのでこれ以降 memory_order_ の部分は省略します。 アトミック変数で使われた場合 mem…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsilight.hatenablog.jp%2Fentry%2F2014%2F10%2F05%2F120356&quot; title=&quot;C++11のmemory_orderの使い分け (1) - しらいとブログ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-10-05 12:03:56</published>
  <title>C++11のmemory_orderの使い分け (1)</title>
  <type>rich</type>
  <url>https://silight.hatenablog.jp/entry/2014/10/05/120356</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
