{"id":426986,"date":"2021-04-12T16:12:43","date_gmt":"2021-04-12T08:12:43","guid":{"rendered":"http:\/\/4563.org\/?p=426986"},"modified":"2021-04-12T16:12:43","modified_gmt":"2021-04-12T08:12:43","slug":"windows-%e5%b9%b3%e5%8f%b0-c%e5%a6%82%e4%bd%95%e7%ae%80%e5%8d%95%e5%ae%89%e5%85%a8%e7%9a%84%e5%ae%9e%e7%8e%b0%e5%a4%9a%e8%bf%9b%e7%a8%8b%e5%a4%9a%e7%ba%bf%e7%a8%8b%e8%af%bb%e5%86%99%e5%90%8c","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=426986","title":{"rendered":"windows \u5e73\u53f0 c++\u5982\u4f55\u7b80\u5355\u5b89\u5168\u7684\u5b9e\u73b0\u591a\u8fdb\u7a0b\u591a\u7ebf\u7a0b\u8bfb\u5199\u540c\u4e00\u4e2a\u6587\u4ef6"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  windows \u5e73\u53f0 c++\u5982\u4f55\u7b80\u5355\u5b89\u5168\u7684\u5b9e\u73b0\u591a\u8fdb\u7a0b\u591a\u7ebf\u7a0b\u8bfb\u5199\u540c\u4e00\u4e2a\u6587\u4ef6               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xingge <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5927\u5bb6\u597d,\u8bf7\u6559\u4e00\u4e0b\u5404\u4f4d\u5927\u4f6c \u591a\u8fdb\u7a0b\u591a\u7ebf\u7a0b\u540c\u65f6\u8bfb\u5199\u540c\u4e00\u4e2a json \u914d\u7f6e\u6587\u4ef6 \u600e\u4e48\u6837\u624d\u80fd\u65e2\u7b80\u5355\u53c8\u5b89\u5168\u7684\u8bfb\u5199\uff0c\u4fdd\u8bc1\u8bfb\u5199\u6210\u529f,\u914d\u7f6e\u6587\u4ef6\u4e0d\u4e22\u5931\u4e0d\u9519\u4e71 \u6216\u8005\u6709\u8fd9\u65b9\u9762\u7684\u8f6e\u5b50\u5417?\u8c22\u8c22      <\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>12<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5734971\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ysc3839 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u628a\u6587\u4ef6\u5f53\u6210\u540c\u6b65\u5bf9\u8c61\u4f7f\u7528<br \/>https:\/\/devblogs.microsoft.com\/oldnewthing\/20140905-00\/?p=63                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5734972\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : h82258652 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             1 \u7684\u65b9\u6cd5\u6ca1\u8bd5\u8fc7\uff0c\u6211\u5012\u662f\u60f3\u5230\u53ef\u4ee5\u7528 Mutex \u505a\uff0c\u4f46\u597d\u50cf\u6027\u80fd\u4e00\u822c\u822c\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5734973\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhuangzhuang1988 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u547d\u540d\u5185\u6838\u5bf9\u8c61\u5c31\u53ef\u4ee5\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5734974\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Jirajine <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             1. \u52a0\u9501\uff0c\u6ca1\u4ec0\u4e48\u597d\u8bf4\u7684\u3002<br \/>2. \u7528\u4e00\u4e2a\u4e13\u95e8\u7684 worker \u8fdb\u7a0b \/\u7ebf\u7a0b\u7ba1\u7406\uff0c\u5176\u4ed6\u8fdb\u7a0b \/\u7ebf\u7a0b\u628a\u64cd\u4f5c\uff08\u589e\u5220\u6539\u67e5\uff09\u901a\u8fc7\u961f\u5217\u53d1\u7ed9\u8be5\u8fdb\u7a0b \/\u7ebf\u7a0b\u7531\u5176\u8fdb\u884c\u5b9e\u9645\u64cd\u4f5c\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5734975\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mogg <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6700\u7b80\u5355\u7684\u601d\u8def\u662f\u5185\u5b58\u91cc\u7ba1\u8fd9\u4e2a\u914d\u7f6e\u5bf9\u8c61\uff0c\u542f\u52a8\u65f6\u5bfc\u5165\uff0c\u7136\u540e\u7528\u4e00\u4e2a\u4e13\u95e8\u7684\u7ebf\u7a0b\u53bb\u628a\u8fd9\u4e2a\u5bf9\u8c61\u5b58\u5230 JSON \u6587\u4ef6\u91cc                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5734976\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : raaaaaar <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u76f4\u63a5\u6254\u6570\u636e\u5e93\u91cc\u5f97\u4e86\uff0c\u914d\u7f6e\u6587\u4ef6\u8bfb\u5199\u4e5f\u4e0d\u4f1a\u592a\u9891\u7e41\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5734977\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : xingge <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8c22\u8c22\u5927\u5bb6                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5734978\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : JerryV2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Slim \u8bfb \/\u5199\u9501\u4e13\u95e8\u5e72\u8fd9\u4e2a\u7684\uff0c\u4e86\u89e3\u4e00\u4e0b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5734979\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : goobai <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bfb\u4e0d\u5b58\u5728\uff0c\u4e3b\u8981\u662f\u5199\u5427\uff01 c#\u6709\u4e2a\u8fdb\u7a0b\u9501 mutex                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5734980\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : magicfuzzx <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             BOOL LockFile(<br \/> HANDLE hFile,<br \/> DWORD dwFileOffsetLow,<br \/> DWORD dwFileOffsetHigh,<br \/> DWORD nNumberOfBytesToLockLow,<br \/> DWORD nNumberOfBytesToLockHigh<br \/>);                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5734981\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : pkupyx <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5982\u679c\u60f3\u8981\u4e00\u53ea\u4ee5 rw open \u7136\u540e\u591a\u4eba\u8bfb\u5199\uff0c\u628a\u8fd9\u4e2a\u6587\u4ef6\u8bfb\u5199\u6a21\u5757\u5c01\u88c5\u4e00\u4e0b\uff0c\u5bf9\u5916\u66b4\u9732\u540c\u6b65\u5199\u63a5\u53e3\uff0c\u91cf\u5927\u8fd8\u80fd\u6574\u4e2a buffer \u5f02\u6b65\u3002\u7136\u540e\u901a\u8fc7\u4e1a\u52a1\u903b\u8f91\u4fdd\u8bc1\u4e0d\u628a\u914d\u7f6e\u5199\u9519\u4e71\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5734982\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nvioue <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u5148\u8bf4\u4e00\u4e0b\u4e3a\u4ec0\u4e48\u8981\u591a\u8fdb\u7a0b\u591a\u7ebf\u7a0b\u8bfb\u5199\u540c\u4e00\u4e2a\u6587\u4ef6?????? \u6211\u505a\u540e\u53f0\u7684, \u4ece\u6765\u4e0d\u4f1a\u8ba9\u591a\u4e2a server \u540c\u65f6\u53bb\u8fde db \u7684..                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>windows \u5e73\u53f0 c++\u5982\u4f55\u7b80&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/426986"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=426986"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/426986\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=426986"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=426986"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=426986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}