{"type":"rich","title":"\u306a\u305c\u9055\u3046\u5024\u3092\u898b\u305f\u306e\u304b\u30fc\u30fc\u30d1\u30bd\u30b3\u30f3\u3068Raspberry Pi\u3067\u5b9f\u9a13","author_name":"unifa_tech","width":"100%","version":"1.0","height":"190","description":"\u3053\u3093\u306b\u3061\u306f\u3001\u30d7\u30ed\u30c0\u30af\u30c8\u958b\u767a\u90e8\u306e\u3061\u3087\u3046\u3067\u3059\u3002 \u7d50\u69cb\u524d\u306b\u3001\u3053\u306e\u8a18\u4e8b\u3067\u3001C++11\u3067\u5b9f\u9a13\u3057\u3088\u3046\u3068\u66f8\u3044\u3066\u3044\u305f\u306e\u3067\u3001\u5148\u9031\u3061\u3087\u3063\u3068\u3084\u3063\u3066\u304d\u307e\u3057\u305f\u3002 tech.unifa-e.com \u307e\u305a\u30b3\u30fc\u30c9\uff08C++11\uff09\u3092\u51fa\u3057\u307e\u3059\u3002 #include <iostream> #include <thread> int data = 0; bool flag = false; void thread1() { data = 100; flag = true; } void thread2() { while(!flag) { } std::cout << data << std::endl; } int main() { \u2026","categories":[],"provider_url":"https://hatena.blog","blog_url":"https://tech.unifa-e.com/","url":"https://tech.unifa-e.com/entry/2019/03/04/130455","published":"2019-03-04 13:04:55","provider_name":"Hatena Blog","blog_title":"\u30e6\u30cb\u30d5\u30a1\u958b\u767a\u8005\u30d6\u30ed\u30b0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.unifa-e.com%2Fentry%2F2019%2F03%2F04%2F130455\" title=\"\u306a\u305c\u9055\u3046\u5024\u3092\u898b\u305f\u306e\u304b\u30fc\u30fc\u30d1\u30bd\u30b3\u30f3\u3068Raspberry Pi\u3067\u5b9f\u9a13 - \u30e6\u30cb\u30d5\u30a1\u958b\u767a\u8005\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/unifa_tech/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/u/unifa_tech/20190225/20190225144312.png"}