<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a666666</author_name>
  <author_url>https://blog.hatena.ne.jp/a666666/</author_url>
  <blog_title>@kyanny's blog</blog_title>
  <blog_url>https://blog.kyanny.me/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>まともに起動してジョブを処理するサイクルをやってくれてるかテストしようと思ってテストスクリプトの中で fork() してみたりしたけどうまくいかない。 TheSchwartz を素で使っているわけじゃなくてちょっとだけ自前実装をかぶせている感じなので、そこをテストしたいのだけど。fork() した親プロセス側のブロックで $worker-&gt;work() 相当のことをやると、そこで無限ループに入ってしまうので、その下で wait() してさらに下で worker の処理結果をテストする、という部分までたどり着かない。TheSchwartz::work_once を sub { exit } に無…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kyanny.me%2Fentry%2F20080627%2F1214541374&quot; title=&quot;TheSchwartz の worker とかのテストを書きたいが - @kyanny&amp;#39;s blog&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>2008-06-27 13:36:14</published>
  <title>TheSchwartz の worker とかのテストを書きたいが</title>
  <type>rich</type>
  <url>https://blog.kyanny.me/entry/20080627/1214541374</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
