{"id":294571,"date":"2024-11-26T12:09:27","date_gmt":"2024-11-26T04:09:27","guid":{"rendered":"https:\/\/lrxjmw.cn\/lhjxlazbzxjj.html"},"modified":"2024-11-26T12:09:27","modified_gmt":"2024-11-26T04:09:27","slug":"lhjxlazbzxjj","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lhjxlazbzxjj.html","title":{"rendered":"Linux\u73af\u5883\u4e0blibevent\u5b89\u88c5\u6b65\u9aa4\u8be6\u89e3\u53ca\u6ce8\u610f\u4e8b\u9879"},"content":{"rendered":"

libevent\u662f\u4e00\u6b3e\u6027\u80fd\u5353\u8d8a\u4e14\u8f7b\u91cf\u7ea7\u7684\u7f51\u7edc\u4e8b\u4ef6\u89e6\u53d1\u5e93\u3002\u5728Linux<\/a>\u73af\u5883\u4e0b\u5b89\u88c5libevent\uff0c\u9700\u8981\u9075\u5faa\u7279\u5b9a\u7684\u6b65\u9aa4\u5e76\u7559\u610f\u76f8\u5173\u4e8b\u9879\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u5c06\u9010\u4e00\u4e3a\u5927\u5bb6\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u6b65\u9aa4\u548c\u6ce8\u610f\u4e8b\u9879\u3002<\/p>\n

\u51c6\u5907\u5de5\u4f5c<\/b><\/p>\n

\u5b89\u88c5libevent\u524dlinux \u5220\u9664\u6587\u4ef6\u5939\uff0c\u5fc5\u987b\u5148\u6838\u5b9e\u7cfb\u7edf\u73af\u5883\u3002\u4e0d\u540c\u7248\u672c\u7684Linux<\/a>\u7cfb\u7edf\u53ef\u80fd\u4f1a\u6709\u6240\u4e0d\u540c\u3002\u901a\u5e38\uff0c\u9700\u8981\u914d\u5907\u4e00\u4e2a\u5408\u9002\u7684\u7f16\u8bd1\u5668\uff0c\u6bd4\u5982GCC\u7f16\u8bd1\u5668\u3002GCC\u662f\u4e00\u6b3e\u529f\u80fd\u5168\u9762\u7684\u7f16\u8bd1\u5668\uff0c\u4f17\u591aLinux\u8f6f\u4ef6\u7684\u7f16\u8bd1\u548c\u5b89\u88c5\u90fd\u79bb\u4e0d\u5f00\u5b83\u3002<\/p>\n

\u6b64\u5916\uff0c\u6211\u4eec\u5fc5\u987b\u4fdd\u8bc1\u7cfb\u7edf\u62e5\u6709\u5145\u8db3\u7684\u78c1\u76d8\u5b58\u50a8\u7a7a\u95f4\u3002\u5b89\u88c5\u6240\u9700\u7684\u6587\u4ef6\u4ee5\u53ca\u7f16\u8bd1\u8fc7\u7a0b\u4e2d\u4ea7\u751f\u7684\u6587\u4ef6\u90fd\u4f1a\u6d88\u8017\u4e00\u5b9a\u7684\u7a7a\u95f4\u3002\u4e00\u65e6\u78c1\u76d8\u7a7a\u95f4\u4e0d\u591f\uff0c\u4fbf\u53ef\u80fd\u5f15\u53d1\u5b89\u88c5\u5931\u8d25\u7684\u95ee\u9898\u3002<\/p>\n

\u5b89\u88c5libevent_libevent linux \u5b89\u88c5_\u5b89\u88c5\u5305<\/p>\n

\u83b7\u53d6libevent\u6e90\u7801<\/b><\/p>\n

\u8981\u83b7\u53d6libevent\u7684\u6e90\u7801\u5305\uff0c\u8bf7\u8bbf\u95ee\u5b98\u65b9\u7f51\u7ad9\u3002\u8fd9\u662f\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u7684\u7b2c\u4e00\u6b65\uff0c\u540c\u6837\u4e5f\u662f\u81f3\u5173\u91cd\u8981\u7684\u4e00\u6b65\u3002<\/p>\n

\u5fc5\u987b\u4ece\u5b98\u65b9\u6e20\u9053\u83b7\u53d6\u6e90\u7801\u5305\uff0c\u8fd9\u6837\u505a\u80fd\u786e\u4fdd\u4ee3\u7801\u7684\u5b8c\u6574\u6027\u53ca\u5b89\u5168\u6027\u3002\u4e0b\u8f7d\u8fc7\u7a0b\u4e2d\uff0c\u82e5\u7f51\u7edc\u72b6\u51b5\u4e0d\u4f73\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u4e0b\u8f7d\u4e2d\u65ad\u6216\u6587\u4ef6\u53d7\u635flibevent linux \u5b89\u88c5<\/strong>\uff0c\u6b64\u65f6\u4fbf\u9700\u91cd\u65b0\u4e0b\u8f7d\u3002<\/p>\n

\u89e3\u538b\u6e90\u7801\u5305<\/b><\/p>\n

\u4e0b\u8f7d\u5b8c\u6e90\u7801\u5305\uff0c\u63a5\u4e0b\u6765\u4fbf\u662f\u89e3\u538b\u6b65\u9aa4\u3002\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u4e00\u822c\u6211\u4eec\u4f1a\u91c7\u7528tar\u547d\u4ee4<\/a>\u6765\u8fdb\u884c\u89e3\u538b\u64cd\u4f5c\u3002<\/p>\n

\u6b63\u786e\u4f7f\u7528\u89e3\u538b\u547d\u4ee4\u81f3\u5173\u91cd\u8981\u3002\u82e5\u89e3\u538b\u547d\u4ee4\u4f7f\u7528\u4e0d\u5f53\uff0c\u53ef\u80fd\u4f1a\u5f71\u54cd\u6587\u4ef6\u63d0\u53d6\u7684\u51c6\u786e\u6027\uff0c\u8fdb\u800c\u59a8\u788d\u540e\u7eed\u7f16\u8bd1\u548c\u5b89\u88c5\u6b65\u9aa4\u7684\u8fdb\u884c\u3002\u89e3\u538b\u6210\u529f\u540e\uff0c\u6211\u4eec\u4f1a\u770b\u5230\u6e90\u7801\u6587\u4ef6\uff0c\u8fd9\u4e9b\u6587\u4ef6\u5c06\u6210\u4e3a\u6211\u4eec\u7f16\u8bd1\u5de5\u4f5c\u7684\u57fa\u7840\u3002<\/p>\n

\u5b89\u88c5\u5305_\u5b89\u88c5libevent_libevent linux \u5b89\u88c5<\/p>\n

\u914d\u7f6e\u5b89\u88c5\u8def\u5f84<\/b><\/p>\n

\u8fd9\u4e00\u6b65\u9aa4\u7684\u6838\u5fc3\u4efb\u52a1\u662f\u786e\u5b9a\u5e93\u6587\u4ef6\u548c\u5934\u6587\u4ef6\u7684\u5b89\u88c5\u5730\u70b9\u3002\u9009\u62e9\u4e00\u4e2a\u5408\u9002\u7684\u5b89\u88c5\u8def\u5f84\uff0c\u5c06\u6709\u5229\u4e8e\u6211\u4eec\u4e4b\u540e\u5bf9libevent\u7684\u7ef4\u62a4\u548c\u5e94\u7528\u3002<\/p>\n

\u9700\u6c42\u591a\u6837linux\u670d\u52a1\u5668\u642d\u5efa\uff0c\u5b89\u88c5\u8def\u5f84\u4e5f\u9700\u76f8\u5e94\u8c03\u6574\uff0c\u5177\u4f53\u8bbe\u7f6e\u9700\u4f9d\u5b9e\u9645\u60c5\u51b5\u800c\u5b9a\u3002\u82e5\u8def\u5f84\u8bbe\u7f6e\u4e0d\u5f53\uff0c\u7a0b\u5e8f\u5c06\u65e0\u6cd5\u627e\u5230\u5fc5\u8981\u7684\u5e93\u6587\u4ef6\uff0c\u8fdb\u800c\u5f15\u53d1\u8fd0\u884c\u6545\u969c\u3002<\/p>\n

libevent linux \u5b89\u88c5_\u5b89\u88c5libevent_\u5b89\u88c5\u5305<\/p>\n

\u7f16\u8bd1\u8fc7\u7a0b<\/b><\/p>\n

\u542f\u52a8\u7f16\u8bd1\u73af\u8282\uff0c\u5fc5\u987b\u9009\u7528\u6070\u5f53\u7684\u7f16\u8bd1\u6307\u4ee4\u3002\u8fd9\u4e00\u6b65\u9aa4\u53ef\u80fd\u8017\u65f6\u4e0d\u5c11\uff0c\u5177\u4f53\u65f6\u957f\u4e0e\u7cfb\u7edf\u6027\u80fd\u5bc6\u5207\u76f8\u5173\u3002<\/p>\n

\u5728\u7f16\u8bd1\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u8b66\u544a\u6216\u662f\u9519\u8bef\u63d0\u793a\u3002\u9047\u5230\u8b66\u544a\u65f6\uff0c\u53ef\u4ee5\u4f9d\u636e\u5177\u4f53\u60c5\u51b5\u6765\u51b3\u5b9a\u662f\u5426\u5ffd\u7565\u3002\u4f46\u82e5\u662f\u9519\u8bef\uff0c\u5c31\u5fc5\u987b\u67e5\u660e\u539f\u56e0\u5e76\u52a0\u4ee5\u89e3\u51b3\uff0c\u5426\u5219\u5c06\u65e0\u6cd5\u987a\u5229\u5b8c\u6210\u5b89\u88c5\u3002<\/p>\n

\u5b89\u88c5libevent_\u5b89\u88c5\u5305_libevent linux \u5b89\u88c5<\/p>\n

\u5b89\u88c5\u64cd\u4f5c<\/b><\/p>\n

\u7f16\u8bd1\u987a\u5229\u5b8c\u6210\u540e\uff0c\u63a5\u4e0b\u6765\u8fdb\u884c\u5b89\u88c5\u6b65\u9aa4\u3002\u8fd9\u4e00\u73af\u8282\u4e3b\u8981\u662f\u5c06\u6587\u4ef6\u590d\u5236\u5230\u9884\u5b9a\u7684\u5b89\u88c5\u4f4d\u7f6e\u3002<\/p>\n

\u5b89\u88c5\u5b8c\u6bd5\u540e\uff0c\u5148\u8fdb\u884c\u57fa\u7840\u6d4b\u8bd5\uff0c\u770b\u770blibevent\u662f\u5426\u5b89\u88c5\u59a5\u5f53\u3002\u82e5\u53d1\u73b0\u5b89\u88c5\u672a\u679c\uff0c\u5c31\u5f97\u91cd\u65b0\u5ba1\u89c6\u4e4b\u524d\u7684\u64cd\u4f5c\u6b65\u9aa4libevent linux \u5b89\u88c5<\/strong>\uff0c\u627e\u51fa\u53ef\u80fd\u5b58\u5728\u7684\u9519\u8bef\u3002<\/p>\n

\u5728\u5b89\u88c5libevent\u7684\u8fc7\u7a0b\u4e2d\uff0c\u5927\u5bb6\u662f\u5426\u9047\u5230\u8fc7\u4e00\u4e9b\u7279\u522b\u9ebb\u70e6\u7684\u95ee\u9898\uff1f\u671f\u5f85\u5927\u5bb6\u80fd\u5728\u8bc4\u8bba\u533a\u5206\u4eab\u7ecf\u9a8c\u3002\u82e5\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u60a8\u6709\u6240\u5e2e\u52a9\uff0c\u4e0d\u59a8\u70b9\u8d5e\u5e76\u8f6c\u53d1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728Linux\u73af\u5883\u4e0b\u5b89\u88c5libevent\uff0c\u9700\u8981\u9075\u5faa\u7279\u5b9a\u7684\u6b65\u9aa4\u5e76\u7559\u610f\u76f8\u5173\u4e8b\u9879\u3002\u5b89\u88c5libevent\u524d\uff0c\u5fc5\u987b\u5148\u6838\u5b9e\u7cfb\u7edf\u73af\u5883\u3002\u9009\u62e9\u4e00\u4e2a\u5408\u9002\u7684\u5b89\u88c5\u8def\u5f84\uff0c\u5c06\u6709\u5229\u4e8e\u6211\u4eec\u4e4b\u540e\u5bf9libevent\u7684\u7ef4\u62a4\u548c\u5e94\u7528\u3002\u5b89\u88c5\u5b8c\u6bd5\u540e\uff0c\u5148\u8fdb\u884c\u57fa\u7840\u6d4b\u8bd5\uff0c\u770b\u770blibevent\u662f\u5426\u5b89\u88c5\u59a5\u5f53\u3002<\/p>\n","protected":false},"author":1,"featured_media":294572,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[4461,109,4361,2908,4462],"class_list":["post-294571","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-libevent","tag-linux","tag-azbz","tag-zysx","tag-hjhs"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=294571"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294571\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/294572"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=294571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=294571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=294571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}