<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yohhoy</author_name>
  <author_url>https://blog.hatena.ne.jp/yohhoy/</author_url>
  <blog_title>yohhoyの日記</blog_title>
  <blog_url>https://yohhoy.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>プログラミング言語Javaが提供するモニタ同期（synchronized構文）および待機処理（Object#wait）は、再帰ロックのセマンティクスをサポートする。*1メモ：待機処理でも再帰ロックをサポートする仕様は珍しい？C++標準ライブラリ（→id:yohhoy:20120802）やPOSIX標準ライブラリ(Pthreads)*2では、再帰ミューテックスと条件変数待機の組み合わせは正常動作しない。 class SharedValue { private final Object monitor = new Object(); private int value = 0; public vo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20161213%2Fp1&quot; title=&quot;モニタ同期・待機処理と再帰ロックサポート - yohhoyの日記&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>2016-12-13 00:00:00</published>
  <title>モニタ同期・待機処理と再帰ロックサポート</title>
  <type>rich</type>
  <url>https://yohhoy.hatenadiary.jp/entry/20161213/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
