{"id":420865,"date":"2021-04-01T19:24:03","date_gmt":"2021-04-01T11:24:03","guid":{"rendered":"http:\/\/4563.org\/?p=420865"},"modified":"2021-04-01T19:24:03","modified_gmt":"2021-04-01T11:24:03","slug":"%e9%97%ae%e4%b8%80%e4%b8%aa%e5%85%b3%e4%ba%8e%e6%97%a0%e9%94%81%e7%bc%96%e7%a8%8b%e7%9a%84%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=420865","title":{"rendered":"\u95ee\u4e00\u4e2a\u5173\u4e8e\u65e0\u9501\u7f16\u7a0b\u7684\u95ee\u9898"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u95ee\u4e00\u4e2a\u5173\u4e8e\u65e0\u9501\u7f16\u7a0b\u7684\u95ee\u9898               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : AceCandy <\/span>  <span><i><\/i> 0<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u770b\u4e86\u4e00\u4e9b\u8bf4\u65e0\u9501\u7f16\u7a0b\u7684\u6587\u7ae0\uff0c\u8fd8\u662f\u6709\u4e9b\u4e0d\u592a\u7406\u89e3\u5230\u5e95\u4ec0\u4e48\u662f\u65e0\u9501\u3002 \u611f\u89c9\u4e0a\u662f\u8bf4 cas \u81ea\u65cb\u5c31\u662f\u65e0\u9501\uff0c\u90a3\u81ea\u65cb\u9501\u4e0d\u4e5f\u662f\u9760 cas \u81ea\u65cb\u5417\uff1f \u6240\u4ee5\u81ea\u65cb\u9501\u662f\u65e0\u9501\u7f16\u7a0b\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>18<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5612485\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : CRVV <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             lock-free \u7684\u7b97\u6cd5\u9700\u8981\u7528\u5230 cas\uff0c\u4f46\u4e0d\u662f\u8bf4\u7528\u5230\u4e86 cas \u5c31\u662f lock-free<br \/>\u6bd4\u5982\u7528 cas \u6765\u5b9e\u73b0 counter \u5c31\u662f lock-free\uff0c\u4f46\u7528 cas \u5b9e\u73b0\u7684\u81ea\u65cb\u9501\u5c31\u4e0d\u662f lock-free<\/p>\n<p>\u5177\u4f53\u7684\u5b9a\u4e49\u5728 wiki \u91cc\u9762\u6709\u5199 https:\/\/en.wikipedia.org\/wiki\/Non-blocking_algorithm<br \/>A non-blocking algorithm is lock-free if there is guaranteed system-wide progress, and wait-free if there is also guaranteed per-thread progress.<\/p>\n<p>\u6bd4\u5982\u4e00\u5171\u6709 10 \u4e2a\u7ebf\u7a0b\uff0c\u6709\u4e00\u4e2a\u7ebf\u7a0b\u5728\u62ff\u7740\u9501\u7684\u60c5\u51b5\u4e0b\u88ab\u505c\u4e86\u4e0b\u6765\uff0c\u5176\u5b83\u7684\u7ebf\u7a0b\u4e5f\u62ff\u4e0d\u5230\u8fd9\u4e2a\u9501\uff0c\u6574\u4e2a\u7cfb\u7edf\u5c31\u505c\u4e86\u3002<br \/>\u907f\u514d\u8fd9\u79cd\u60c5\u51b5\u51fa\u73b0\u7684\u7b97\u6cd5\u53eb lock-free                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5612486\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : anthow <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u963b\u585e\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5612487\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hxndg <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4e2a\u903b\u8f91\u662f\u4e0d\u53ef\u53e0\u52a0\u7684\uff0c<\/p>\n<p>@anthow \u8bf4\u7684\u5b9e\u9645\u4e0a\u66f4\u7cbe\u786e\uff0c\u5e94\u8be5\u53eb\u505a\u65e0\u963b\u585e\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5612488\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hxndg <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5f53\u7136\uff0c\u65e0\u963b\u585e\u4e0d\u4ee3\u8868\u4e0d\u9700\u8981\u4ed8\u51fa\u4ee3\u4ef7                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5612489\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : codehz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u65e0\u9501\u7684\u5b9a\u4e49\u548c\u9501\u5012\u662f\u6ca1\u6709\u76f4\u63a5\u8054\u7cfb\uff0c\u53ea\u8981\u6c42\u5f53\u4efb\u610f\u7ebf\u7a0b\u5728\u4efb\u610f\u65f6\u523b\u5361\u6b7b\u65f6\uff08\u4f46\u662f\u4e0d\u80fd\u6b7b\u5149\uff09\u8d77\u7801\u5269\u4e0b\u7684\u7ebf\u7a0b\u4e2d\u81f3\u5c11\u8fd8\u6709\u4e00\u4e2a\u80fd\u7ee7\u7eed\u8dd1\uff08\u65e0\u7b49\u5f85\u5c31\u662f\u5269\u4e0b\u6ca1\u6b7b\u7684\u7ebf\u7a0b\u90fd\u80fd\u7ee7\u7eed\u8dd1\uff09<br \/>\u5361\u6b7b\u53ef\u4ee5\u7406\u89e3\u4e3a\u4f9d\u636e\u8bbe\u5b9a\u8dd1\u4e00\u4e2a\u6b7b\u5faa\u73af\uff0c\u6216\u8005\u8c03\u5ea6\u5668\u4e0d\u518d\u8c03\u5ea6\u5230\u90a3\u4e2a\u7ebf\u7a0b\uff0c\u800c\u4e0d\u8981\u7ba1\u4e3a\u5565\uff08\u8fd9\u91cc\u5fc5\u987b\u5047\u8bbe CAS\/FAA \u4e00\u7c7b\u7684\u64cd\u4f5c\u4e0d\u80fd\u88ab\u4efb\u610f\u65b9\u5f0f\u6253\u65ad\uff0c\u8981\u4e48\u6ca1\u6709\u6267\u884c\u5230\uff0c\u8981\u4e48\u5df2\u7ecf\u6267\u884c\u8fc7\u4e86\uff0c\u539f\u5219\u4e0a\u5173\u95ed\u4e2d\u65ad\u4e5f\u7b97\uff0c\u4f46\u662f\u8fd9\u91cc\u5c31\u590d\u6742\u5316\u4e86\uff09\u3002<br \/>\u7ee7\u7eed\u8dd1\u7684\u5b9a\u4e49\u5c31\u6bd4\u8f83\u9ebb\u70e6\u4e86\uff0c\u901a\u5e38\u53ef\u4ee5\u7406\u89e3\u4e3a\u5728\u6709\u9650\u6b65\u9aa4\u5185\u80fd\u6210\u529f\u5b8c\u6210\uff08\u5931\u8d25\u7684\u4e0d\u7b97\uff0c\u6bd4\u5982\u4f60\u62ff\u4e0d\u5230\u9501\u76f4\u63a5\u8fd4\u56de\u9519\u8bef\u7684\u90a3\u79cd\uff09\u3002<br \/>\u666e\u901a\u7684\u65e0\u9501\u5141\u8bb8\u51fa\u73b0\u67d0\u4e2a\u7ebf\u7a0b\u6c38\u8fdc\u65e0\u6cd5\u7ee7\u7eed\uff0c\uff08\u56e0\u4e3a\u53ea\u8981\u6c42\u81f3\u5c11\u4e00\u4e2a\uff0c\u53ea\u8981\u4fdd\u8bc1\u7cfb\u7edf\u4e2d\u6c38\u8fdc\u5b58\u5728\u4e24\u4e2a\u6216\u4ee5\u4e0a\u7684\u7ebf\u7a0b\u5728\u8fd0\u884c\uff0c\u5176\u4e2d\u4e00\u4e2a\u5c31\u53ef\u4ee5\u4e00\u76f4\u5361\u4e0b\u53bb\uff0c\u5373\u6240\u8c13\u7684\u997f\u6b7b\uff09\u65e0\u7b49\u5f85\u8981\u6c42\u6240\u6709\u7ebf\u7a0b\u90fd\u8981\u80fd\u5728\u6709\u9650\u6b65\u9aa4\u5b8c\u6210\uff08\u9664\u4e86\u4f9d\u636e\u8bbe\u5b9a\u5361\u6b7b\u7684\uff09<br \/>\u6240\u4ee5\u5224\u5b9a\u4e00\u4e2a\u7b97\u6cd5\u662f\u4e0d\u662f\u65e0\u9501\u7684\u5c31\u5f88\u7b80\u5355\u4e86\uff0c\u53ea\u8981\u627e\u4e0d\u5230\u4efb\u4f55\u4e00\u79cd\u80fd\u8ba9\u6240\u6709\u5269\u4f59\u7ebf\u7a0b\u5361\u6b7b\u7684\u4e2d\u65ad\u70b9\u7684\u7ec4\u5408\uff08\u4e5f\u5c31\u662f\u6bcf\u4e2a\u9009\u4e2d\u7ebf\u7a0b\u90fd\u6309\u8bbe\u5b9a\u5728\u7279\u5b9a\u4f4d\u7f6e\u505c\u4e0b\uff0c\u5e76\u4e14\u6b64\u65f6\u5176\u4ed6\u7ebf\u7a0b\u4e5f\u6309\u8bbe\u5b9a\u8dd1\u5230\u7279\u5b9a\u7684\u4f4d\u7f6e\uff0c\u53ef\u4ee5\u7406\u89e3\u4e3a\u6781\u7aef\u6761\u4ef6\uff09\uff0c\u5c31\u662f\u65e0\u9501\u7b97\u6cd5\uff0c\u800c\u5982\u679c\u751a\u81f3\u65e0\u6cd5\u8ba9\u5269\u4f59\u7ebf\u7a0b\u4e2d\u7684\u4efb\u610f\u4e00\u4e2a\u5361\u6b7b\uff0c\u90a3\u5c31\u662f\u65e0\u7b49\u5f85\u7b97\u6cd5\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5612490\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : leviathan0992 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             lock free (cas) \u4e3b\u8981\u662f\u907f\u514d\u64cd\u4f5c\u7cfb\u7edf\u56e0\u4e3a mutex \u9677\u5165\u5185\u6838\u4e2d\u65ad\u5bfc\u81f4 context switch \u7684\u5f00\u9500                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5612491\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bugmakerxs <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u5176\u5b9e\u4e0d\u662f\u5f88\u7406\u89e3 cas \u4e3a\u5565\u8bf4\u662f\u65e0\u9501\u7684\uff0c\u56e0\u4e3a\u4ed6\u5305\u542b\u4e24\u4e2a\u52a8\u4f5c<br \/>1. Compare<br \/>2.set<br \/>\u5982\u679c cas \u662f\u4e00\u4e2a\u539f\u5b50\u64cd\u4f5c\u7684\u8bdd\uff0c\u5fc5\u987b\u4fdd\u8bc1\u52a8\u4f5c 2 \u524d\u4e0d\u4f1a\u6709\u5176\u4ed6\u7ebf\u7a0b\u4fee\u6539\u6211\u5df2\u7ecf\u6bd4\u8f83\u8fc7\u7684\u503c\uff0c\u90a3\u5c31\u4e00\u5b9a\u4f1a\u6709\u9501\u3002<\/p>\n<p>\u6211\u6316\u5230\u7684\u6700\u5e95\u5c42\u662f cmpxchg \u6307\u4ee4\uff0c\u518d\u5f80\u6df1\u6ca1\u6316\u4e86\u3002\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5612492\" 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>                                                             \u8bfb-\u590d\u5236-\u5199\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5612493\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : AceCandy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @codehz \u81ea\u65cb\u9501\u4e0d\u662f\u5c5e\u4e8e\u5728\u6709\u7ebf\u7a0b\u5361\u6b7b\u7684\u65f6\u5019\u5269\u4e0b\u7684\u7ebf\u7a0b\u8fd8\u5728\u8dd1\u5417\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5612494\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : codehz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @AceCandy \u5982\u679c\u8ba9\u6301\u6709\u9501\u7684\u7ebf\u7a0b\u4e00\u76f4\u4e0d\u91ca\u653e\u4e0d\u5c31\u5176\u4ed6\u7684\u5c31\u6ca1\u6cd5\u7ee7\u7eed\u4e86\uff0c\u4e0d\u80fd\u5728\u6709\u9650\u7684\u6b65\u9aa4\u5185\u5b8c\u6210\uff0c\u4e0d\u8981\u95ee\u4e3a\u5565\u8ba9\u5b83\u4e0d\u91ca\u653e\uff0c\u8fd9\u5c31\u662f\u65e0\u9501\u7b97\u6cd5\u5b9a\u4e49\u7684\u4e00\u90e8\u5206\uff0cCAS\/FAA \u4e0d\u53ef\u62c6\u5206\u66f4\u662f\u524d\u63d0\u6761\u4ef6\uff0c\u8fd9\u73a9\u610f\u5c31\u662f\u8bc1\u660e\u9898\uff0c\u524d\u7f6e\u6761\u4ef6\u6ee1\u8db3\u4e86\u4e4b\u540e\uff0c\u8bc1\u660e\u4e0d\u53ef\u80fd\u5b58\u5728\u8fd9\u4e2a\u7279\u6b8a\u60c5\u51b5\uff0c\u5c31\u8bc1\u660e\u4e86\u7b97\u6cd5\u662f\u65e0\u9501\u7684\uff0c\u53cd\u4e4b\u5c31\u662f\u963b\u585e\u7684\u3002<\/p>\n<p>@bugmakerxs CAS \u7531 cpu \u5b9e\u73b0\u8005\u4fdd\u8bc1\u81f3\u5c11\u6709\u4e00\u4e2a\u7ebf\u7a0b\u80fd\u5728\u4efb\u610f\u51b2\u7a81\u573a\u666f\u7684\u60c5\u51b5\u4e0b\u5199\u5165\u6210\u529f\uff08\u5f53\u7136\uff0c\u603b\u5f97\u7b26\u5408\u6761\u4ef6\uff0c\u4f60\u4e0d\u80fd\u5168\u90e8\u53c2\u4e0e\u6bd4\u8f83\u7684\u90fd\u4e0d\u4e0e\u539f\u503c\u76f8\u7b49\uff09\uff0c\u81f3\u4e8e cpu \u600e\u4e48\u5b9e\u73b0\u7684\uff0c\u5e76\u4e0d\u91cd\u8981\uff0c\u56e0\u4e3a\u8fd9\u5c5e\u4e8e\u5b9a\u4e49\u7684\u4e00\u90e8\u5206\uff0c\u4e0d\u7b26\u5408\u8fd9\u4e2a\u5b9a\u4e49\u7684\uff0c\u5c31\u4e0d\u662f\u8fd9\u4e2a\u4e0a\u4e0b\u6587\u91cc\u7684 CAS \u64cd\u4f5c\u3002<br \/>\uff08\u8bdd\u8bf4\u56de\u6765\uff0cCAS \u901a\u5e38\u662f\u4f5c\u4e3a\u65e0\u9501\u7b97\u6cd5\u5b9e\u73b0\u7684\u57fa\u7840\u7ec4\u4ef6\uff0c\u5f88\u5c11\u4f1a\u6709\u6070\u597d\u53ea\u9700\u8981 CAS \u5c31\u53ef\u4ee5\u5b8c\u6210\u7684\u9700\u6c42\uff0c\u53e6\u5916 CAS \u4e5f\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u963b\u585e\u7b97\u6cd5\uff09                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5612495\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : LeeReamond <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @bugmakerxs \u4e00\u770b\u5c31\u662f\u770b\u4e86\u9a6c\u58eb\u5175\u7684\u89c6\u9891\u88ab\u5ffd\u60a0\u50bb\u4e86\u3002\u3002cas \u5199\u5165\u5f53\u7136\u8981\u4fdd\u6301\u539f\u5b50\u6027\uff0c\u4fdd\u6301\u539f\u5b50\u6027\u610f\u601d\u662f\u786c\u4ef6\u5c42\u9762\u4e0a\u603b\u662f\u8981\u6709\u4e2a\u9501\u7684\u3002\u4e0d\u8fc7\u95ee\u9898\u5728\u4e8e\u786c\u4ef6\u7ea7\u522b\u7684\u9501\uff0c\u8ddf\u4f60\u7a0b\u5e8f\u91cc\u5b9e\u73b0\u7684\u5404\u79cd\u7ea7\u522b\u7684\u9501\uff0c\u80fd\u662f\u4e00\u4e2a\u6982\u5ff5\u4e48\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5612496\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bugmakerxs <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @LeeReamond \u6ca1\u770b\u8fc7\u9a6c\u58eb\u5175\u7684\u89c6\u9891\uff0c\u786c\u4ef6\u7ea7\u522b\u7684\u9501\uff0cjvm \u5c42\u9762\u7684\u9501\uff0c\u5206\u5e03\u5f0f\u9501\uff0c\u5728\u6211\u770b\u6765\u672c\u8d28\u4e0a\u90fd\u4e00\u6837\uff0c\u6240\u4ee5\u7f51\u4e0a\u8bf4\u7684 CAS \u662f\u300e\u65e0\u9501\u300f\u6211\u5c31\u89c9\u5f97\u5f88\u5947\u602a\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5612497\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : guyeu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u81ea\u65cb\u4e5f\u662f\u963b\u585e\uff0c\u4f46\u7528 CAS \u7684\u8bdd\uff0cset \u5931\u8d25\u4e0d\u4e00\u5b9a\u8981\u81ea\u65cb\u7b49\u5f85\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5612498\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : no1xsyzy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @bugmakerxs \u4f60\u8981\u4e0a\u5c42\u6765\u770b\uff0cHaskell \uff08\u6781\u7aef\u70b9 coq \uff09\u6700\u540e\u8fd8\u4e0d\u662f\u5f97\u8fd0\u884c CPU \u6307\u4ee4\uff1f\u8fd9\u5e76\u4e0d\u5f71\u54cd\u5b83\u662f\u7eaf\u51fd\u6570\u5f0f\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5612499\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : byaiu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u65e0\u9501\u7684\u672c\u610f\u662f\u4e0d\u8981\u88ab kernel schedule \u51fa\u53bb\u2026\u2026\u53ea\u8981\u6ee1\u8db3\u8fd9\u4e2a\u7684\u591a\u7ebf\u7a0b\u5e94\u8be5\u5c31\u7b97\u65e0\u9501\u4e86<\/p>\n<p>\u539f\u5b50\u64cd\u4f5c\u53c2\u8003 c++\u91cc\u7684 atomic \u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5612500\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : FrankHB <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u65e0\u9501\u6307\u7684\u662f\u6ca1\u7b49\u4e00\u76f4\u50bb\u7b49\u5728\u9501\u4e0a\uff0c\u65e0\u6b7b\u9501 \/\u6d3b\u9501\u3002<br \/>CAS \u53ea\u662f\u4e2a primitive\uff0c\u81ea\u8eab\u4e0d\u4fdd\u8bc1 non-blocking \u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5612501\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : LeeReamond <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @bugmakerxs \u786c\u4ef6\u5b9e\u73b0\u539f\u5b50\u64cd\u4f5c\u7684\u6307\u4ee4\u4e00\u6837\u800c\u5df2\uff0c\u6211\u4e0d\u7406\u89e3\u4f60\u6240\u8c13\u7684\u672c\u8d28\u4e00\u6837\u662f\u4ec0\u4e48\u610f\u601d\u3002\u6709\u7684\u9501\u9700\u8981\u5207\u6362\u5185\u6838\u6001\uff0c\u4e0e\u4e0d\u9700\u8981\u5207\u6362\u7684\u9501\uff0c\u672c\u8d28\u76f8\u540c\u5417\uff1f\u6211\u4e0d\u89c9\u5f97                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5612502\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bugmakerxs <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @LeeReamond \u672c\u8d28\u4e0a\u90fd\u9700\u8981\u72ec\u5360\u8d44\u6e90\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u95ee\u4e00\u4e2a\u5173\u4e8e\u65e0\u9501\u7f16\u7a0b\u7684\u95ee\u9898 \u8cc7\u6df1\u5927\u4f6c&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\/420865"}],"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=420865"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/420865\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=420865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=420865"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=420865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}