{"categories":["OpenMP","C","C++"],"type":"rich","width":"100%","author_name":"yohhoy","url":"https://yohhoy.hatenadiary.jp/entry/20140212/p1","title":"atomic\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30c8\u306e\u5236\u9650","image_url":null,"blog_url":"https://yohhoy.hatenadiary.jp/","description":"OpenMP API\u4ed5\u69d8\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u3001C/C++\u8a00\u8a9e\u5411\u3051atomic\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30c8\u306e\u5236\u9650\u4e8b\u9805\u306b\u3064\u3044\u3066\u30e1\u30e2\u3002 OpenMP 3.0\u4ee5\u524d #pragma omp atomic new-line expression-stmt atomic\u6307\u793a\u6587\u306b\u7d9a\u304f\u5f0f expression-stmt \u3067\u306f\u3001\u30b9\u30ab\u30e9\u578b\u306e\u5de6\u8fba\u5024(lvalue)\u5f0f x \u306b\u5bfe\u3059\u308b\u66f4\u65b0\u64cd\u4f5c\u306e\u307f\u304c\u8a31\u5bb9\u3055\u308c\u308b\u3002binop\u306f+, *, -, /, &, ^, |, <<, >>\u306e\u3044\u305a\u308c\u304b\u3092\u8868\u3059\u3002 x binop= expr; x++; ++x; x--; --x; OpenMP 3.1\u4ee5\u964d #pragma omp atomic [read|wri\u2026","author_url":"https://blog.hatena.ne.jp/yohhoy/","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","blog_title":"yohhoy\u306e\u65e5\u8a18","height":"190","published":"2014-02-12 00:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20140212%2Fp1\" title=\"atomic\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30c8\u306e\u5236\u9650 - yohhoy\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0"}