<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sato_susumu</author_name>
  <author_url>https://blog.hatena.ne.jp/sato_susumu/</author_url>
  <blog_title>佐藤百貨店</blog_title>
  <blog_url>https://www.sato-susumu.com/</blog_url>
  <categories>
    <anon>IT</anon>
  </categories>
  <description>Volatileについてのまとめ Volatileとは、対象となる変数のコンパイラー最適化を抑止する予約語 アトミック性、逐次性のいずれも保証されない。 もちろん排他制御されない C言語はメモリモデルによっては可視性も保証されない？ volatile変数と非volatile変数との間では、コンパイラが2つの操作の実行順を入れ替える可能性がある volatile変数が、その変数自体の以前の値にも他の変数にもまったく依存しないのであれば使えるケースもある。 例：フラグ 注：volatile変数同士であっても比較するケースでは使えない。 一般的なVolatileの意味 揮発する、揮発性の、移り気な、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.sato-susumu.com%2Fentry%2Fvolatile&quot; title=&quot;Volatileについて調べてみた - 佐藤百貨店&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://cdn-ak.f.st-hatena.com/images/fotolife/s/sato_susumu/20170909/20170909210617.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-08-30 20:07:54</published>
  <title>Volatileについて調べてみた</title>
  <type>rich</type>
  <url>https://www.sato-susumu.com/entry/volatile</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
