<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>oraccha</author_name>
  <author_url>https://blog.hatena.ne.jp/oraccha/</author_url>
  <blog_title>Plan9日記</blog_title>
  <blog_url>https://oraccha.hatenadiary.org/</blog_url>
  <categories>
    <anon>Inferno</anon>
  </categories>
  <description>time(1)はUNIXでもおなじみだが、引数に与えられたコマンドの実行時間を測定するのに使われる。 ; time sh -c 'ps | grep Sh' 1 1 oraccha 0:00.0 release 74K Sh[$Sys] 81 1 oraccha 0:00.0 release 73K Sh[$Sys] 0l 0.011r 0.011t今回はtime(1)を例にスレッドのspawnとチャネル(channel)によるスレッド間通信について書きたいと思う*1。InfernoはUNIX/Plan9とは異なり、複数スレッド(プロセス)が単一のアドレス空間を共有するOSなので、fork&amp;e…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foraccha.hatenadiary.org%2Fentry%2F20080217%2F1203223124&quot; title=&quot; timeで見るspawn/channel - Plan9日記&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-02-17 13:38:44</published>
  <title> timeで見るspawn/channel</title>
  <type>rich</type>
  <url>https://oraccha.hatenadiary.org/entry/20080217/1203223124</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
