<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>s-shin</author_name>
  <author_url>https://blog.hatena.ne.jp/s-shin/</author_url>
  <blog_title>$ cat /var/log/shin</blog_title>
  <blog_url>https://shin.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>import multiprocessing as mp import multiprocessing.sharedctypes as mpshared def worker(idx: int, queue: mp.Queue, shared_counter): while True: if not queue.get(): break shared_counter[idx] += 1 def main(): NUM_WORKERS = 64 shared_counter = mpshared.RawArray('B', NUM_WORKERS) queues = [mp.Queue() fo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshin.hateblo.jp%2Fentry%2F2020%2F04%2F09%2F021009&quot; title=&quot;multiprocessingメモ - $ cat /var/log/shin&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>2020-04-09 02:10:09</published>
  <title>multiprocessingメモ</title>
  <type>rich</type>
  <url>https://shin.hateblo.jp/entry/2020/04/09/021009</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
