<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yaneurao</author_name>
  <author_url>https://blog.hatena.ne.jp/yaneurao/</author_url>
  <blog_title>やねうらおブログ(移転しました)</blog_title>
  <blog_url>https://yaneurao.hatenadiary.com/</blog_url>
  <categories>
    <anon>.NET</anon>
  </categories>
  <description>次に、リソースの解放をいつ行なうかについて考えていこう。 GCの挙動が嫌らしいのは、私が思うにGCが実行されているスレッドがGC専用のスレッドであることだ。つまり、非同期で、しかもそのclassをnewしたスレッドとは異なるスレッドからそのclassのfinalizerが呼び出される。これが非常にまずいケースが多いのだ。このため、スレッドに関連付けられているunmanagedなリソースは、ことごとく解放に失敗する。 この問題はしばしば議論される(id:akiramei:20060125:p2)のだが、私は言語的にどうこう出来る問題ではないと考えている。だから、我々は、Disposeを確実に呼び…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyaneurao.hatenadiary.com%2Fentry%2F20060312%2Fp1&quot; title=&quot; C#2.0時代のゲームプログラミング(4) - やねうらおブログ(移転しました)&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>https://images-fe.ssl-images-amazon.com/images/I/51QS9921S4L._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2006-03-12 00:00:00</published>
  <title> C#2.0時代のゲームプログラミング(4)</title>
  <type>rich</type>
  <url>https://yaneurao.hatenadiary.com/entry/20060312/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
