<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chayarokurokuro</author_name>
  <author_url>https://blog.hatena.ne.jp/chayarokurokuro/</author_url>
  <blog_title>よちよちpython   </blog_title>
  <blog_url>https://chayarokurokuro.hatenablog.com/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>マルチスレッドとは何か。 それをつかうと実行処理を並行させる事ができるのだそうだ。今回は触りだけ。 まずは次のコードから話をはじめます。 実行環境はJupyterNotebook。 %%time # ↑ 実行時間計測のマジックコマンド print(&quot;スタート！&quot;) print(&quot;ストップ！&quot;) スタート！ ストップ！ CPU times: user 0 ns, sys: 0 ns, total: 0 ns Wall time: 684 µs 実行すれば、2つのprint()関数で表示するのに1秒も掛からない。 print(&quot;スタート！&quot;)が実行されたら、次の行のprint(&quot;ストップ！&quot;)が実…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchayarokurokuro.hatenablog.com%2Fentry%2F2019%2F10%2F05%2F002339&quot; title=&quot;マルチスレッドとは何か - よちよちpython   &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>2019-10-05 00:23:39</published>
  <title>マルチスレッドとは何か</title>
  <type>rich</type>
  <url>https://chayarokurokuro.hatenablog.com/entry/2019/10/05/002339</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
