<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>scior</author_name>
  <author_url>https://blog.hatena.ne.jp/scior/</author_url>
  <blog_title>しおメモ</blog_title>
  <blog_url>https://scior.hatenablog.com/</blog_url>
  <categories>
    <anon>iOS</anon>
    <anon>Swift</anon>
    <anon>Swift4</anon>
  </categories>
  <description>他言語から入ると、一見取っつきづらいDispatchQueueですが、だいぶ浸透してきた気がします。 一方で、簡単にマルチスレッドで非同期処理ができるようになった結果、処理フローの制御がしづらくなったり、 知らないうちに、CPUやメモリリソースを異常に消費したりなど、副次的な問題が出てくることがあります。 それらの問題に対する、解決策を考えてみます。 TL;DR GCD復習 問題 方針 本当にasyncが必要なのか考える main.asyncに気をつける QoSを指定する DispatchGroupも使う ダメそうだったら</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fscior.hatenablog.com%2Fentry%2F2018%2F12%2F29%2F100000&quot; title=&quot;DispatchQueueによる非同期処理を見直す - しおメモ&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>2018-12-29 10:00:00</published>
  <title>DispatchQueueによる非同期処理を見直す</title>
  <type>rich</type>
  <url>https://scior.hatenablog.com/entry/2018/12/29/100000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
