<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>faith_and_brave</author_name>
  <author_url>https://blog.hatena.ne.jp/faith_and_brave/</author_url>
  <blog_title>Faith and Brave - C++で遊ぼう</blog_title>
  <blog_url>https://faithandbrave.hateblo.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>shared_ptr のスレッド安全性レベルは、標準ライブラリのデフォルトレベルなので const 操作は複数スレッドで同時に行うことができますが、更新には排他アクセスを必要とします。 しかし、より強い保証を必要とする場合がいくつかあります。 atomic な shared_ptr、つまり2つのスレッドによる同期なしの並列な更新に耐えることが可能な shared_ptr がほしいという強い要求があります(Boost MLなどで) よくある動機は、生のポインタへの atomic な操作と、ガベージコレクションを合わせたパターンを移植したいというものです。 このケースに対応するため、 に以下の関数…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20081015%2F1224066366&quot; title=&quot; C++0x Shared_ptr atomic access - Faith and Brave - C++で遊ぼう&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>2008-10-15 19:26:06</published>
  <title> C++0x Shared_ptr atomic access</title>
  <type>rich</type>
  <url>https://faithandbrave.hateblo.jp/entry/20081015/1224066366</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
