<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kissrobber</author_name>
  <author_url>https://blog.hatena.ne.jp/kissrobber/</author_url>
  <blog_title>kissrobberの日記</blog_title>
  <blog_url>https://kissrobber.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>2011/12/10昼ごろ追記 つか、これじゃダメっぽい。実行されずに終わるスレッドがたまにある。joinの実装？2011/12/10 18:45 join修正した2011/12/10 20:40 callのところに例外処理2011/12/12 Procじゃなくてblockに変更してみた 名前がイケてない class ThreadCommander require 'thread' def initialize size = 50 @q = SizedQueue.new size @ts = {} end def push &amp;block @q.push block.object_id t = …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkissrobber.hatenadiary.org%2Fentry%2F20111209%2F1323426924&quot; title=&quot;RubyでいっぱいProcを渡しても、スレッドをつくりすぎないようにちょっとずつ並列実行してくれるヤツ - kissrobberの日記&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>2011-12-09 19:35:24</published>
  <title>RubyでいっぱいProcを渡しても、スレッドをつくりすぎないようにちょっとずつ並列実行してくれるヤツ</title>
  <type>rich</type>
  <url>https://kissrobber.hatenadiary.org/entry/20111209/1323426924</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
