<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kilrey</author_name>
  <author_url>https://blog.hatena.ne.jp/kilrey/</author_url>
  <blog_title>うっくつさん本を読む。</blog_title>
  <blog_url>https://kilrey.hatenadiary.org/</blog_url>
  <categories>
    <anon>言語</anon>
  </categories>
  <description>超スマートポインタをマルチスレッド対応にしようと思い立った。あまりマルチスレッドの経験はないのだけど、オブジェクトの所有権が曖昧になるというのは特にマルチスレッドに多いことなので必要だろうということだ。 マルチスレッド対応とはつまり、クリティカル・セクションを排他保護するということだ。超ス(略では参照カウントの上げ下げと循環検出を保護すれば良いだろう。だからといって全て保護したのでは実行効率が悪化するのが目に見えている。どうすれば良いのか考えてみた。 循環検出と循環検出は排他する。 ポインタaの参照上げ下げとaの参照上げ下げは排他する。 異なるポインタa, bについて、aの参照上げ下げとbの参…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkilrey.hatenadiary.org%2Fentry%2F20071026%2Fp1&quot; title=&quot;マルチスレッド - うっくつさん本を読む。&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>2007-10-26 00:00:00</published>
  <title>マルチスレッド</title>
  <type>rich</type>
  <url>https://kilrey.hatenadiary.org/entry/20071026/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
