<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>t-araki</author_name>
  <author_url>https://blog.hatena.ne.jp/t-araki/</author_url>
  <blog_title>t-arakiの日記</blog_title>
  <blog_url>https://t-araki-2.hatenadiary.org/</blog_url>
  <categories>
    <anon>コンピュータ</anon>
    <anon>PARDS</anon>
  </categories>
  <description>良く言うように、 並列処理 = 速度向上が目的。逐次で書いたプログラムが複数CPUを使って高速に動けばそれが理想 並行処理 = 「並行に動作する」ことをプログラム上で記述したい という差があるわけですが、並行処理を記述したいのはどういう場合でしょう、という話。色々考えてみたところ、やはりI/Oがからむ部分が本質かなぁと考えている。要は、 socketやらファイルからの読み込み、UIにおけるユーザからの入力待ちなどをブロッキングで読むAPIを使いたい。しかし、読み込み待ちの間に他の入力が可能になったら、そちらの処理をしたい。 重い処理をしている間にユーザからの入力あったら、そちらに迅速に対処した…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ft-araki-2.hatenadiary.org%2Fentry%2F20070325%2F1174829768&quot; title=&quot;並行処理の必要性 - t-arakiの日記&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>2007-03-25 22:36:08</published>
  <title>並行処理の必要性</title>
  <type>rich</type>
  <url>https://t-araki-2.hatenadiary.org/entry/20070325/1174829768</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
