<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yohhoy</author_name>
  <author_url>https://blog.hatena.ne.jp/yohhoy/</author_url>
  <blog_title>yohhoyの日記</blog_title>
  <blog_url>https://yohhoy.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>TBB</anon>
  </categories>
  <description>Intel TBBタスク tbb::task のallocate_continuationによる継続タスク利用に関するメモ。TBB公式リファレンスにある推奨タスクパターン*1とは異なる例を取り上げるが、必ずしも望ましいユースケースとなっていない可能性がある（と思う）。 直列化されたイテレーション LoopTask::executeメンバ関数の戻り値として明示的に継続タスクを返すため、TBBスケジューラをバイパスすることで常に単一スレッド（最初のLoopTaskが実行されたスレッド）上で実行される。 #include &lt;iostream&gt; #include &lt;thread&gt; #include &quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20130902%2Fp1&quot; title=&quot;tbb::task::allocate_continuationによるループ処理オーバーラップ - yohhoyの日記&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>2013-09-02 00:00:00</published>
  <title>tbb::task::allocate_continuationによるループ処理オーバーラップ</title>
  <type>rich</type>
  <url>https://yohhoy.hatenadiary.jp/entry/20130902/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
