{"published":"2010-04-26 06:37:44","width":"100%","author_name":"syuu1228","provider_name":"Hatena Blog","blog_url":"https://syuu1228.hatenablog.com/","title":"curcpu()\u306e\u4ed5\u69d8\u3092\u5909\u3048\u305f\u3044 in OpenBSD/sgi","provider_url":"https://hatena.blog","description":"OpenBSD\u3067\u30ab\u30ec\u30f3\u30c8\u30d7\u30ed\u30bb\u30c3\u30b5\u306ecpu_info\uff08\u203bper-CPU\u306a\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u3059\u308b\u69cb\u9020\u4f53\uff09\u306e\u30dd\u30a4\u30f3\u30bf\u3092\u53d6\u5f97\u3059\u308b\u306b\u306fcurcpu()\u3068\u3044\u3046\u30de\u30af\u30ed\u3092\u547c\u3076\u306e\u3060\u304c\u3001\u73fe\u72b6\u306eOpenBSD/sgi\u3067\u306f\u3053\u3093\u306a\u98a8\u306b\u306a\u3063\u3066\u3044\u308b\uff1a #define curcpu() cpu_info[cpu_number()] \u3067\u3001cpu_number()\u306f\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u30ec\u30b8\u30b9\u30bf\u3092\u8aad\u3093\u3067CPU\u306e\u7269\u7406ID\u3092\u53d6\u5f97\u3057\u3066\u3044\u308b\u3002 \u304c\u3001\u5148\u65e5\u66f8\u3044\u305f\u3088\u3046\u306bOrigin 350\u306b\u304a\u3044\u3066\u306f\u7269\u7406ID\u3068autoconf\u3067\u5272\u308a\u5f53\u3066\u308bID\u3092\u5206\u3051\u305f\u3044\u3002\u307e\u305f\u3001curcpu()\u306e\u5ea6\u306b\u6bce\u56de\u7269\u7406ID\u3092\u30ed\u30fc\u30c9\u3057\u3066\u914d\u5217\u304b\u3089\u30dd\u30a4\u30f3\u30bf\u3092\u53d6\u308a\u51fa\u3059\u306e\u306f\u3042\u307e\u308a\u901f\u304f\u306f\u306a\u3044\u3002 \u51fa\u6765\u2026","type":"rich","height":"190","url":"https://syuu1228.hatenablog.com/entry/20100426/1272231464","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsyuu1228.hatenablog.com%2Fentry%2F20100426%2F1272231464\" title=\"curcpu()\u306e\u4ed5\u69d8\u3092\u5909\u3048\u305f\u3044 in OpenBSD/sgi - syuu1228&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"author_url":"https://blog.hatena.ne.jp/syuu1228/","version":"1.0","categories":["OpenBSD","sgi","SMP"],"blog_title":"syuu1228's blog"}