<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hiratara</author_name>
  <author_url>https://blog.hatena.ne.jp/hiratara/</author_url>
  <blog_title>Pixel Pedals of Tomakomai</blog_title>
  <blog_url>https://hiratara.hatenadiary.jp/</blog_url>
  <categories>
    <anon>技術</anon>
  </categories>
  <description>こちらの記事を読んでInterruptedExceptionの意味を納得。これは&quot;割り込みが発生したことを知らせてる&quot;ってよりは、&quot;速やかに処理をキャンセルしてreturnして欲しい&quot;ってことを指示してる例外なのですね。で、InterruptedExceptionをもらったメソッドだけがキャンセル動作を行っても仕方がないので、この例外は上に伝搬すべきであると。例外をthrowできない場合は、returnする前に自スレッドにもう一度interrupt()をかけて後続の処理に知らせます。ただし、スレッドが終了する直前ってのはキャンセル動作が終了する直前であるので、これ以上InterruptedEx…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiratara.hatenadiary.jp%2Fentry%2F20060725%2F1153837814&quot; title=&quot;InterruptedException - Pixel Pedals of Tomakomai&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>2006-07-25 23:30:14</published>
  <title>InterruptedException</title>
  <type>rich</type>
  <url>https://hiratara.hatenadiary.jp/entry/20060725/1153837814</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
