{"id":1464,"date":"2016-02-25T18:20:00","date_gmt":"2016-02-25T10:20:00","guid":{"rendered":"http:\/\/blog.dynox.cn\/?p=1464"},"modified":"2023-08-12T08:47:40","modified_gmt":"2023-08-12T00:47:40","slug":"keventeresource%e5%8f%8athread-boost","status":"publish","type":"post","link":"https:\/\/blog.dynox.cn\/?p=1464","title":{"rendered":"KEVENT,ERESOURCE\u53caThread Boost"},"content":{"rendered":"<div class=\"gruber-markdown\"><p><font size=\"2\">\u5728\u5524\u9192KEVENT\u65f6\uff0c\u51fd\u6570KeSetEvent\u7684\u7b2c\u4e8c\u4e2a\u53c2\u6570\uff08KPRIORITY Increment\uff09\u662f\u7528\u6765\u4e34\u65f6\u63d0\u9ad8\u88ab\u5524\u9192\u7ebf\u7a0b\u7684\u8c03\u8bd5\u4f18\u5148\u7ea7\u7684\uff0c\u6b64\u4e3e\u53ef\u4ee5\u8ba9\u7761\u7720\u5728\u6b64KEVENT\u4e0a\u7684\u7ebf\u7a0b\u5c3d\u5feb\u5f97\u5230\u5904\u7406\u4ee5\u63d0\u9ad8\u7cfb\u7edf\u6574\u4f53\u6027\u80fd\u3002<\/font><\/p>  <p><font size=\"2\">\u540c\u6837ERESOURCE\u4e5f\u6709\u7c7b\u4f3c\u7684\u673a\u5236\uff0c\u5728\u653e\u9501\u65f6\u4e5f\u4f1a\u8c03\u9ad8\u7b49\u5f85\u5217\u8868\u4e2d\u5904\u4e8e\u9965\u997f\u72b6\u6001\u7684\u7ebf\u7a0b\u7684\u4f18\u5148\u7ea7\u3002<\/font><\/p>  <p><font size=\"2\">\u4e0d\u8fc7\u9664\u6b64\u4e4b\u5916\uff0cERESOURCE\u8fd8\u6709\u4e00\u79cd\u53cd\u5411\u7684Boost\u673a\u5236\uff0c\u5373\u8ba9\u7b49\u5f85\u8005\u5728\u8bd5\u56fe\u83b7\u53d6\u9501\u65f6\u8c03\u9ad8\u6b64\u9501\u5f53\u524d\u62e5\u6709\u8005\u7ebf\u7a0b\u7684\u8c03\u5ea6\u4f18\u5148\u7ea7\uff0c\u4ee5\u52a0\u5feb\u5c5e\u4e3b\u7ebf\u7a0b\u7684\u5904\u7406\u5e76\u5c3d\u53ef\u80fd\u65e9\u7684\u91ca\u653e\u9501\u8d44\u6e90\u3002<\/font><\/p>  <p><font size=\"2\">\u53cd\u5411\u64cd\u4f5c\u5374\u6709\u53ef\u80fd\u906d\u9047\u8fd9\u6837\u4e00\u4e2a\u95ee\u9898\uff1a\u4f5c\u4e3a\u9501\u62e5\u6709\u8005\u7684\u7ebf\u7a0b\u672a\u5fc5\u662f\u540c\u6b65\u7684\uff0c\u5f88\u6709\u53ef\u80fd\u5728\u83b7\u53d6ERESOURCE\u9501\u4e4b\u540e\u5c31\u56e0\u4e3a\u5f02\u6b65\u5904\u7406\u4e8b\u4ef6\uff08\u5982Workitem\uff0c\u5f02\u6b65I\/O\u8bf7\u6c42\uff09\u5728\u4e0d\u91ca\u653e\u9501\u7684\u60c5\u51b5\u4e0b\u5c31\u9000\u51fa\uff08\u9501\u7684\u91ca\u653e\u5c06\u7531\u5f02\u6b65\u4e8b\u4ef6\u6765\u505a\uff09\uff0c\u5728\u6b64\u60c5\u51b5\u4e0bERESOURCE\u7684\u5c5e\u4e3b\u7ebf\u7a0b\u6307\u9488\u5c31\u53d8\u6210\u975e\u6cd5\u7684\u4e86\u3002\u4e3a\u6b64Windows\u5185\u6838\u63d0\u4f9b\u4e86\u4e00\u79cd\u673a\u5236\u6765\u963b\u6b62\u95ee\u9898\u7684\u53d1\u751f\uff1a\u7ebf\u7a0b\u7b49\u7ed3\u6784\u4f53\u4e00\u822c\u90fd\u662f\u81f3\u5c118\u5b57\u8282\u5bf9\u9f50\u7684\uff08\u6700\u540e3\u4f4d\u5747\u4e3a0\uff09\uff0c\u901a\u8fc7\u5c06\u6700\u540e\u4e24\u4f4d\u8bbe\u4e3a1\u7684\u65b9\u5f0f\uff08\uff5c0x03\uff09\u6765\u7504\u522b\u6b64\u6307\u9488\u6570\u636e\u662f\u7528\u6237\u81ea\u5df1\u6240\u6307\u5b9a\u7684\u8fd8\u662f\u9ed8\u8ba4\u7684\u7cfb\u7edf\u7ebf\u7a0b\uff0c\u4ee5\u6b64\u6765\u907f\u514d\u8bbf\u95ee\u5df2\u7ecf\u91ca\u653e\u7684\u5185\u5b58\u3002<\/font><\/p>  <p><font size=\"2\">\u4eceWin7\u4e4b\u540e\uff0cFastFat\u53caNtfs\u90fd\u6709\u5bf9ERESOURCE\u7684OwnerThread\u7684\u5904\u7406\uff0c\u4e3b\u8981\u662f\u5f02\u6b65\u7684Noncached i\/o\u4e8b\u4ef6\u7684\u5904\u7406\uff0c\u5176\u76ee\u7684\u5c31\u662f\u5904\u7406\u7ebf\u7a0b\u5728\u83b7\u53d6ERESOURCE\u4e4b\u540e\u9000\u51fa\u7684\u60c5\u51b5\u3002<\/font><\/p><\/div>","protected":false},"excerpt":{"rendered":"<p>\u5728\u5524\u9192KEVENT\u65f6\uff0c\u51fd\u6570KeSetEvent\u7684\u7b2c\u4e8c\u4e2a\u53c2\u6570\uff08KPRIORITY Increment\uff09\u662f\u7528\u6765\u4e34\u65f6 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[9],"tags":[483,392,574,394,280],"views":1489,"_links":{"self":[{"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=\/wp\/v2\/posts\/1464"}],"collection":[{"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1464"}],"version-history":[{"count":2,"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=\/wp\/v2\/posts\/1464\/revisions"}],"predecessor-version":[{"id":1468,"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=\/wp\/v2\/posts\/1464\/revisions\/1468"}],"wp:attachment":[{"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1464"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1464"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.dynox.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}