<?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>Python</anon>
  </categories>
  <description>2020-01-01をもって Python2はEOL を迎えている。Python 2.x系にある mutexモジュール は、(その名前に反して）マルチスレッド処理には使えない。同モジュールはPython 2.6以降で非推奨、Python 3系では削除された。代わりに threading.Lockオブジェクト を利用すること。公式ドキュメント mutex - 排他制御 より一部引用。 バージョン 2.6 で撤廃: mutex モジュールは Python 3.0 で削除されました。当然のことながらマルチスレッドの制御には利用できません – というのも、lock()が、ロックを獲得したら関数を呼び出…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20150324%2Fp1&quot; title=&quot;mutexモジュールはマルチスレッド処理には使えない - 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>2015-03-24 00:00:00</published>
  <title>mutexモジュールはマルチスレッド処理には使えない</title>
  <type>rich</type>
  <url>https://yohhoy.hatenadiary.jp/entry/20150324/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
