<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>higepon</author_name>
  <author_url>https://blog.hatena.ne.jp/higepon/</author_url>
  <blog_title>higepon blog</blog_title>
  <blog_url>https://higepon.hatenablog.com/</blog_url>
  <categories>
    <anon>mona</anon>
  </categories>
  <description>wait 側のユーザーコード mutex-&gt;lock(); while(!some_condition) { condition-&gt;wait(mutex); } // ここでお仕事。必要に応じて some_condition 書き換え。 mutex-&gt;unlock(); wait が内部でやる事は (1) mutex-&gt;unlock (2) スケジューラーの wait queue へ追加（ブロックする） (3) mutex-&gt;lock (1)と(2) はアトミック。 (2) により wait はブロックされる。 notifyAll 側のユーザーコード mutex-&gt;lock(); some_c…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigepon.hatenablog.com%2Fentry%2F20091121%2F1258815619&quot; title=&quot; Conditon Variables の内部実装を考える - higepon blog&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>2009-11-21 00:00:19</published>
  <title> Conditon Variables の内部実装を考える</title>
  <type>rich</type>
  <url>https://higepon.hatenablog.com/entry/20091121/1258815619</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
