<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>reinyannyan</author_name>
  <author_url>https://blog.hatena.ne.jp/reinyannyan/</author_url>
  <blog_title>(new Hatena).blog()</blog_title>
  <blog_url>https://reinyannyan.hatenadiary.org/</blog_url>
  <categories>
    <anon>Scheme</anon>
  </categories>
  <description>(排他制御の件での初歩的なミスに頭を悩ませている最中ではありますが、また別な話題です) 並列処理プログラミングにおける副作用というのは様々な厄介な問題の温床ですが、MzScheme の channel を使うと問題を解決できる場合があります。スレッド下の処理を、安全な部分とそうでない部分とに分離でき、かつその際主要な処理が安全な側に分離できる場合です。例えば、ウェブ上から情報を取ってきて、それをローカルのデータベースに記録する、というようなケースを想定しましょう。この時、後者の処理をサンクとして分離し、あとでまとめてシーケンシャルに処理すれば良いのです: (for-each (lambda (…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Freinyannyan.hatenadiary.org%2Fentry%2F20080522%2Fp1&quot; title=&quot; マルチスレッドと副作用 - (new Hatena).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-05-22 00:00:00</published>
  <title> マルチスレッドと副作用</title>
  <type>rich</type>
  <url>https://reinyannyan.hatenadiary.org/entry/20080522/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
