<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pebble8888</author_name>
  <author_url>https://blog.hatena.ne.jp/pebble8888/</author_url>
  <blog_title>Pebble Coding</blog_title>
  <blog_url>https://pebble8888.hatenablog.com/</blog_url>
  <categories>
    <anon>C++11</anon>
  </categories>
  <description>#include &lt;thread&gt; #include &lt;mutex&gt; #include &lt;queue&gt; #include &lt;unistd.h&gt; // usleep using namespace std; mutex print_mutex; // printf()呼び出し排他用 mutex queue_mutex; // v_queue排他アクセス用 queue&lt;int&gt; v_queue; // データキュー condition_variable ready_cond; // 条件変数 void worker(void) { while (true) { int data; { // uni…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpebble8888.hatenablog.com%2Fentry%2F2015%2F07%2F01%2F004528&quot; title=&quot;C++11でのcondition_variableを使ったマルチスレッド制御 - Pebble Coding&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>http://ecx.images-amazon.com/images/I/51HI8SrUrML.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-07-01 00:45:28</published>
  <title>C++11でのcondition_variableを使ったマルチスレッド制御</title>
  <type>rich</type>
  <url>https://pebble8888.hatenablog.com/entry/2015/07/01/004528</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
