{"id":110731,"date":"2024-12-07T22:39:10","date_gmt":"2024-12-07T14:39:10","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=110731"},"modified":"2024-12-07T22:39:10","modified_gmt":"2024-12-07T14:39:10","slug":"linux-process-thread","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-process-thread.html","title":{"rendered":"Linux\u7cfb\u7edf\u8fdb\u7a0b\u4e0e\u7ebf\u7a0b\u4e4b\u95f4\u7684\u7ea0\u845b"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5728Linux\u4e2d\uff0c\u6bcf\u4e2a\u8fdb\u7a0b\u5728\u521b\u5efa\u7684\u65f6\u90fd\u4f1a\u88ab\u5206\u914d\u4e00\u4e2a\u6570\u636e\u7ed3\u6784\uff0c\u79f0\u4e3a\u8fdb\u7a0b\u63a7\u5236\u5757\uff08PCB\uff09\u3002PCB\u4e2d\u5305\u542b\u4e86\u5f88\u591a\u91cd\u8981\u7684\u4fe1\u606f\uff0c\u4f9b\u7cfb\u7edf\u8c03\u5ea6\u548c\u8fdb\u7a0b\u672c\u4e8b\u6267\u884c\u4f7f\u7528\uff0c\u5176\u4e2d\u6700\u91cd\u8981\u7684\u83ab\u8fc7\u4e8e\u8fdb\u7a0b\u7684ID\uff0c\u8fdb\u7a0b\u7684ID\u4e5f\u88ab\u79f0\u4e3a\u8fdb\u7a0b\u6807\u793a\u7b26\uff0c\u662f\u4e00\u4e2a\u975e\u8d1f\u7684\u6574\u6570\uff0c\u5728Linux\u64cd\u4f5c\u6027\u7cfb\u7edf\u4e2d\u552f\u4e00\u7684\u6807\u5fd7\u4e00\u4e2a\u8fdb\u7a0b\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

\u5f53\u4e00\u4e2a\u7a0b\u5e8f\u5f00\u59cb\u6267\u884c\u540e\uff0c\u5728\u5f00\u59cb\u6267\u884c\u5230\u6267\u884c\u5b8c\u6bd5\u9000\u51fa\u8fd9\u6bb5\u65f6\u95f4\u5185\uff0c\u5b83\u5728\u5185\u5b58\u4e2d\u7684\u90e8\u5206\u5c31\u53eb\u79f0\u4f5c\u4e00\u4e2a\u8fdb\u7a0b\u3002<\/p>\n

Linux \u662f\u4e00\u4e2a\u591a\u4efb\u52a1\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u5728\u540c\u4e00\u65f6\u95f4\u5185\uff0c\u53ef\u4ee5\u6709\u591a\u4e2a\u8fdb\u7a0b\u540c\u65f6\u6267\u884c\u3002\u6211\u4eec\u5927\u5bb6\u5e38\u7528\u7684\u5355CPU\u8ba1\u7b97\u673a\u5b9e\u9645\u4e0a\u5728\u4e00\u4e2a\u65f6\u95f4\u7247\u6bb5\u5185\u53ea\u80fd\u6267\u884c\u4e00\u6761\u6307\u4ee4\u3002\u90a3\u4e48Linux\u662f\u5982\u4f55\u5b9e\u73b0\u591a\u8fdb\u7a0b\u7684\u540c\u65f6\u6267\u884c\u7684\u5462\uff1f\u539f\u6765Linux\u4f7f\u7528\u4e86\u4e00\u79cd\u79f0\u4e3a\u201d \u8fdb\u7a0b\u8c03\u5ea6 \u201c\u7684\u624b\u6bb5\uff0c\u9996\u5148\uff0c\u4e3a\u6bcf\u4e2a\u8fdb\u7a0b\u6307\u6d3e\u4e00\u5b9a\u7684\u8fd0\u884c\u65f6\u95f4\uff0c\u8fd9\u4e2a\u65f6\u95f4\u901a\u5e38\u5f88\u77ed\uff0c\u77ed\u5230\u4ee5\u6beb\u79d2\u4e3a\u5355\u4f4d\uff0c\u7136\u540e\u4f9d\u7167\u67d0\u79cd\u89c4\u5219\uff0c\u4ece\u4f17\u591a\u7684\u8fdb\u7a0b\u4e2d\u6311\u9009\u4e00\u4e2a\u6295\u5165\u8fd0\u884c\uff0c\u5176\u4ed6\u8fdb\u7a0b\u6682\u65f6\u7b49\u5f85\uff0c\u5f53\u6b63\u5728\u8fd0\u884c\u7684\u90a3\u4e2a\u8fdb\u7a0b\u65f6\u95f4\u8017\u5c3d\uff0c\u6216\u8005\u6267\u884c\u5b8c\u6bd5\u9000\u51fa\uff0c\u6216\u56e0\u67d0\u79cd\u539f\u56e0\u6682\u505c\uff0cLinux\u5c31\u4f1a\u91cd\u65b0\u8c03\u5ea6\uff0c\u6311\u9009\u4e00\u4e2a\u8fdb\u7a0b\u6295\u5165\u8fd0\u884c\uff0c\u56e0\u4e3a\u6bcf\u4e2a\u8fdb\u7a0b\u5360\u7528\u7684\u65f6\u95f4\u7247\u6bb5\u90fd\u5f88\u77ed\uff0c\u4ece\u4f7f\u7528\u8005\u7684\u89d2\u5ea6\u6765\u770b\uff0c\u5c31\u597d\u50cf\u591a\u4e2a\u8fdb\u7a0b\u540c\u65f6\u8fd0\u884c\u4e00\u6837\u3002<\/p>\n

\u5728Linux\u4e2d\uff0c\u6bcf\u4e2a\u8fdb\u7a0b\u5728\u521b\u5efa\u7684\u65f6\u90fd\u4f1a\u88ab\u5206\u914d\u4e00\u4e2a\u6570\u636e\u7ed3\u6784\uff0c\u79f0\u4e3a\u8fdb\u7a0b\u63a7\u5236\u5757\uff08PCB\uff09\u3002PCB\u4e2d\u5305\u542b\u4e86\u5f88\u591a\u91cd\u8981\u7684\u4fe1\u606f\uff0c\u4f9b\u7cfb\u7edf\u8c03\u5ea6\u548c\u8fdb\u7a0b\u672c\u4e8b\u6267\u884c\u4f7f\u7528\uff0c\u5176\u4e2d\u6700\u91cd\u8981\u7684\u83ab\u8fc7\u4e8e\u8fdb\u7a0b\u7684ID\uff0c\u8fdb\u7a0b\u7684ID\u4e5f\u88ab\u79f0\u4e3a\u8fdb\u7a0b\u6807\u793a\u7b26\uff0c\u662f\u4e00\u4e2a\u975e\u8d1f\u7684\u6574\u6570\uff0c\u5728Linux\u64cd\u4f5c\u6027\u7cfb\u7edf\u4e2d\u552f\u4e00\u7684\u6807\u5fd7\u4e00\u4e2a\u8fdb\u7a0b\u3002\u5728\u6700\u5e38\u4f7f\u7528\u7684I386\u67b6\u6784\u4e0a\uff0c\u4e00\u4e2a\u975e\u8d1f\u7684\u6574\u6570\u7684\u53d6\u503c\u662f0~32767\uff0c\u8fd9\u4e5f\u662f\u6211\u4eec\u6240\u53ef\u80fd\u53d6\u5230\u7684\u8fdb\u7a0bID\uff0c\u5b83\u5c31\u662f\u8fdb\u7a0b\u7684\u8eab\u4efd\u8bc1\u53f7\u7801\u3002<\/p>\n

\u50f5\u5c38\u8fdb\u7a0b\u7684\u4ea7\u751f\u00a0<\/strong><\/span><\/div>\n

\u50f5\u5c38\u8fdb\u7a0b\u5c31\u662f\u5df2\u7ecf\u7ed3\u675f\u7684\u8fdb\u7a0b\uff0c\u4f46\u662f\u8fd8\u6ca1\u6709\u4ece\u8fdb\u7a0b\u8868\u4e2d\u5220\u9664\u3002\u50f5\u5c38\u8fdb\u7a0b\u592a\u591a\u4f1a\u5bfc\u81f4\u8fdb\u7a0b\u8868\u91cc\u9762\u6761\u76ee\u6ee1\u4e86\uff0c\u8fdb\u800c\u5bfc\u81f4\u7cfb\u7edf\u5d29\u6e83\uff0c\u5012\u662f\u4e0d\u5360\u7528\u7cfb\u7edf\u8d44\u6e90\u3002<\/p>\n

\u5728\u8fdb\u7a0b\u7684\u72b6\u6001\u4e2d\uff0c\u50f5\u5c38\u8fdb\u7a0b\u662f\u975e\u5e38\u7279\u6b8a\u7684\u4e00\u79cd\uff0c\u5b83\u5df2\u7ecf\u653e\u5f03\u4e86\u51e0\u4e4e\u6240\u6709\u7684\u5185\u5b58\u7a7a\u95f4\uff0c\u6ca1\u6709\u4efb\u4f55\u53ef\u6267\u884c\u4ee3\u7801\uff0c\u4e5f\u4e0d\u80fd\u88ab\u8c03\u5ea6\uff0c\u4ec5\u4ec5\u5728\u8fdb\u7a0b\u5217\u8868\u4e2d\u4fdd\u7559\u4e00\u4e2a\u4e3a\u4f4d\u7f6e\uff0c\u8bb0\u8f7d\u8be5\u8fdb\u7a0b\u7684\u9000\u51fa\u72b6\u6001\u7b49\u4fe1\u606f\u4f9b\u5176\u4ed6\u8fdb\u7a0b\u6536\u96c6\uff0c\u9664\u6b64\u4e4b\u5916\uff0c\u50f5\u5c38\u8fdb\u7a0b\u4e0d\u518d\u5360\u7528\u4efb\u4f55\u5185\u5b58\u7a7a\u95f4\uff0c\u5b83\u9700\u8981\u5b83\u7684\u7236\u8fdb\u7a0b\u6765\u7ed9\u5b83\u6536\u5c38\uff0c\u5982\u679c\u7236\u8fdb\u7a0b\u6ca1\u5b89\u88c5SIGCHLD\u4fe1\u53f7\u5904\u7406\u51fd\u6570\u8c03\u7528wait\u6216waitpid\uff08\uff09\u7b49\u5f85\u5b50\u8fdb\u7a0b\u7ed3\u675f\uff0c\u53c8\u6ca1\u6709\u663e\u793a\u7684\u5ffd\u7565\u8be5\u4fe1\u53f7\uff0c\u90a3\u4e48\u5b83\u5c31\u4e00\u76f4\u5904\u4e8e\u50f5\u5c38\u72b6\u6001\u3002\u5982\u679c\u7236\u8fdb\u7a0b\u7ed3\u675f\u4e86\uff0c\u90a3\u4e48init\u8fdb\u7a0b\u4f1a\u81ea\u52a8\u63a5\u624b\u8fd9\u4e2a\u5b50\u8fdb\u7a0b\uff0c\u4e3a\u5b83\u6536\u5c38\uff0c\u4ed6\u8fd8\u662f\u80fd\u591f\u88ab\u6e05\u9664\u7684\u3002\u4f46\u662f\u5982\u679c\u7236\u8fdb\u7a0b\u662f\u4e00\u4e2a\u5faa\u73af\uff0c\u4e0d\u4f1a\u7ed3\u675f\uff0c\u90a3\u4e48\u5b50\u8fdb\u7a0b\u5c31\u4e00\u76f4\u5904\u4e8e\u50f5\u5c38\u72b6\u6001\u3002<\/p>\n

\u50f5\u5c38\u8fdb\u7a0b\u4ea7\u751f\u7684\u539f\u56e0:\u00a0<\/strong><\/span><\/div>\n

\u6bcf\u4e2aLinux\u8fdb\u7a0b\u5728\u8fdb\u7a0b\u8868\u4e2d\u90fd\u6709\u4e00\u4e2a\u8fdb\u5165\u70b9\uff08Entry\uff09\uff0c\u6838\u5fc3\u7a0b\u5e8f\u5728\u6267\u884c\u8be5\u8fdb\u7a0b\u65f6\u4f7f\u7528\u5230\u7684\u4e00\u5207\u4fe1\u606f\u90fd\u5b58\u50a8\u5728\u8fdb\u5165\u70b9\u3002\u5f53\u4f7f\u7528ps\u547d\u4ee4\u67e5\u770b\u7cfb\u7edf\u4e2d\u7684\u8fdb\u7a0b\u4fe1\u606f\u65f6\uff0c\u770b\u5230\u7684\u5c31\u662f\u8fdb\u7a0b\u8868\u4e2d\u7684\u76f8\u5173\u6570\u636e\u3002\u5f53fork\u7cfb\u7edf\u8c03\u7528\u5efa\u7acb\u4e00\u4e2a\u65b0\u7684\u8fdb\u7a0b\u4ee5\u540e\uff0c\u6838\u5fc3\u8fdb\u7a0b\u5c31\u4f1a\u5728\u8fdb\u7a0b\u8868\u4e2d\u7ed9\u8fd9\u4e2a\u65b0\u8fdb\u7a0b\u5206\u914d\u4e00\u4e2a\u8fdb\u5165\u70b9\uff0c\u7136\u540e\u5c06\u76f8\u5173\u4fe1\u606f\u5b58\u50a8\u5728\u8be5\u8fdb\u5165\u70b9\u6240\u5bf9\u5e94\u7684\u8fdb\u7a0b\u8868\u4e2d\uff0c\u8fd9\u4e9b\u4fe1\u606f\u4e2d\u6709\u4e00\u9879\u662f\u7236\u8fdb\u7a0b\u7684\u8bc6\u522b\u7801\u3002\u5f53\u8fd9\u4e2a\u8fdb\u7a0b\u8d70\u5b8c\u4e86\u81ea\u5df1\u7684\u751f\u547d\u5468\u671f\u540e\uff0c\u5b83\u4f1a\u6267\u884cexit\uff08\uff09\u7cfb\u7edf\u8c03\u7528\uff0c\u6b64\u65f6\u539f\u6765\u8fdb\u7a0b\u8868\u4e2d\u7684\u6570\u636e\u4f1a\u88ab\u8be5\u8fdb\u7a0b\u7684\u9000\u51fa\u7801\u3001\u6267\u884c\u65f6\u6240\u7528\u7684CPU\u65f6\u95f4\u7b49\u6570\u636e\u6240\u53d6\u4ee3\uff0c\u8fd9\u4e9b\u6570\u636e\u4f1a\u4e00\u76f4\u4fdd\u7559\u5230\u7cfb\u7edf\u5c06\u5b83\u4f20\u9012\u7ed9\u5b83\u7684\u7236\u8fdb\u7a0b\u4e3a\u6b62\u3002\u7531\u6b64\u53ef\u89c1\uff0c\u50f5\u5c38\u8fdb\u7a0b\u7684\u51fa\u73b0\u65f6\u95f4\u5b9e\u5728\u5b50\u7a0b\u5e8f\u7ec8\u6b62\u540e\uff0c\u4f46\u662f\u7236\u8fdb\u7a0b\u5c1a\u672a\u8bfb\u53d6\u8fd9\u4e9b\u6570\u636e\u4e4b\u524d\u3002<\/p>\n

\u5982\u4f55\u907f\u514d\u50f5\u5c38\u8fdb\u7a0b\u00a0<\/strong><\/span><\/div>\n

1\u3001\u7236\u8fdb\u7a0b\u901a\u8fc7wait\u548cwaitpid\u7b49\u51fd\u6570\u7b49\u5f85\u5b50\u8fdb\u7a0b\u7ed3\u675f\uff0c\u8fd9\u4f1a\u5bfc\u81f4\u7236\u8fdb\u7a0b\u6302\u8d77<\/p>\n

2\u3001\u5982\u679c\u7236\u8fdb\u7a0b\u5f88\u5fd9\uff0c\u90a3\u4e48\u53ef\u4ee5\u7528signal\u51fd\u6570\u4e3aSIGCHLD\u5b89\u88c5handler\uff0c\u56e0\u4e3a\u5b50\u8fdb\u7a0b\u7ed3\u675f\u540e\uff0c\u7236\u8fdb\u7a0b\u4f1a\u6536\u5230\u8be5\u4fe1\u53f7\uff0c\u53ef\u4ee5\u5728handler\u4e2d\u8c03\u7528wait\u56de\u6536\u3002<\/p>\n

3\u3001\u5982\u679c\u7236\u8fdb\u7a0b\u4e0d\u5173\u5fc3\u5b50\u8fdb\u7a0b\u4ec0\u4e48\u65f6\u5019\u7ed3\u675f\uff0c\u90a3\u4e48\u53ef\u4ee5\u7528\u201csingal\uff08SIGCHLD\uff09\uff0cSIG_IGN\u201d\u901a\u77e5\u5185\u6838\uff0c\u81ea\u5df1\u5bf9\u5b50\u8fdb\u7a0b\u7684\u7ed3\u675f\u4e0d\u611f\u5174\u8da3\uff0c\u90a3\u4e48\u5b50\u8fdb\u7a0b\u7ed3\u675f\u540e\uff0c\u5185\u6838\u4f1a\u56de\u6536\uff0c\u5e76\u4e0d\u518d\u7ed9\u7236\u8fdb\u7a0b\u53d1\u9001\u4fe1\u53f7\u3002<\/p>\n

4\u3001\u8fd8\u6709\u4e00\u4e9b\u6280\u5de7\uff0c\u5c31\u662ffork\uff08\uff09\u4e24\u6b21\uff0c\u7236\u8fdb\u7a0bfork\u4e00\u4e2a\u5b50\u8fdb\u7a0b\uff0c\u7136\u540e\u7ee7\u7eed\u5de5\u4f5c\uff0c\u5b50\u8fdb\u7a0bfork\u4e00\u4e2a\u5b59\u8fdb\u7a0b\u540e\u9000\u51fa\uff0c\u90a3\u4e48\u5b59\u8fdb\u7a0b\u88abinit\u63a5\u7ba1\uff0c\u5b59\u8fdb\u7a0b\u7ed3\u675f\u540e\uff0cinit\u4f1a\u56de\u6536\uff0c\u4e0d\u8fc7\u5b50\u8fdb\u7a0b\u56de\u6536\u8fd8\u8981\u81ea\u5df1\u505a\u3002<\/p>\n

\u8fdb\u7a0b PK \u7ebf\u7a0b<\/strong><\/span><\/div>\n

\u6211\u4eec\u5148\u6253\u4e2a\u6bd4\u65b9\uff0c\u591a\u7ebf\u7a0b\u662f\u5341\u5b57\u8def\u53e3\u591a\u7ebf\u7a0b\u662f\u5e73\u9762\u4ea4\u901a\u7cfb\u7edf\uff0c\u9020\u4ef7\u4f4e\uff0c\u4f46\u662f\u7ea2\u7eff\u706f\u591a\uff0c\u8001\u5835\u8f66\uff0c\u800c\u591a\u8fdb\u7a0b\u662f\u5219\u662f\u7acb\u4ea4\u6865\uff0c\u867d\u7136\u9020\u4ef7\u9ad8\uff0c\u4e0a\u4e0b\u5761\u591a\u8017\u6cb9\uff0c\u4f46\u662f\u4e0d\u5835\u8f66\u3002\u8fd9\u662f\u4e00\u4e2a\u62bd\u8c61\u7684\u6982\u5ff5\u3002\u76f8\u4fe1\u5927\u5bb6\u770b\u5b8c\u4f1a\u6709\u8fd9\u79cd\u611f\u89c9\u3002<\/p>\n

\u8fdb\u7a0b\u548c\u7ebf\u7a0b\u662f\u4e24\u4e2a\u76f8\u5bf9\u7684\u6982\u5ff5\uff0c\u901a\u5e38\u6765\u8bf4\uff0c\u4e00\u4e2a\u8fdb\u7a0b\u53ef\u4ee5\u5b9a\u4e49\u7a0b\u5e8f\u7684\u4e00\u4e2a\u5b9e\u4f8b\uff08Instance\uff09\u3002\u5728Win32\u4e2d\uff0c\u8fdb\u7a0b\u5e76\u4e0d\u6267\u884c\u4ec0\u4e48\uff0c\u5b83\u53ea\u662f\u5360\u636e\u5e94\u7528\u7a0b\u5e8f\u6240\u4f7f\u7528\u7684\u5730\u5740\u7a7a\u95f4\u3002\u4e3a\u4e86\u8ba9\u8fdb\u7a0b\u5b8c\u6210\u4e00\u5b9a\u7684\u5de5\u4f5c\uff0c\u8fdb\u7a0b\u5fc5\u987b\u81f3\u5c11\u5360\u6709\u4e00\u4e2a\u7ebf\u7a0b\uff0c\u6b63\u662f\u8fd9\u4e2a\u7ebf\u7a0b\u8d1f\u8d23\u5305\u542b\u8fdb\u7a0b\u5730\u5740\u7a7a\u95f4\u4e2d\u7684\u4ee3\u7801\u3002\u5b9e\u9645\u4e0a\uff0c\u4e00\u4e2a\u8fdb\u7a0b\u53ef\u4ee5\u5305\u542b\u51e0\u4e2a\u7ebf\u7a0b\uff0c\u5b83\u4eec\u53ef\u4ee5\u540c\u65f6\u6267\u884c\u8fdb\u7a0b\u5730\u5740\u7a7a\u95f4\u4e2d\u7684\u4ee3\u7801\u3002\u4e3a\u4e86\u505a\u5230\u8fd9\u4e00\u70b9\uff0c\u6bcf\u4e2a\u7ebf\u7a0b\u6709\u81ea\u5df1\u7684\u4e00\u7ec4CPU\u5bc4\u5b58\u5668\u548c\u5806\u6808\u3002\u6bcf\u4e2a\u8fdb\u7a0b\u4e2d\u81f3\u5c11\u6709 \u4e00\u4e2a\u7ebf\u7a0b\u5728\u6267\u884c\u5176\u5730\u5740\u7a7a\u95f4\u4e2d\u7684\u4ee3\u7801\u3002\u5982\u679c\u6ca1\u6709\u7ebf\u7a0b\u6267\u884c\u8fdb\u7a0b\u5730\u5740\u7a7a\u95f4\u4e2d\u7684\u4ee3\u7801\uff0c\u8fdb\u7a0b\u4e5f\u5c31\u6ca1\u6709\u7ee7\u7eed\u5b58\u5728\u7684\u7406\u7531\uff0c\u7cfb\u7edf\u5c06\u81ea\u52a8\u6e05\u9664\u8fdb\u7a0b\u53ca\u5176\u5730\u5740\u7a7a\u95f4\u3002<\/p>\n

\u591a\u7ebf\u7a0b\u7684\u5b9e\u73b0\u539f\u7406\u00a0<\/strong><\/span><\/div>\n

\u521b\u5efa\u4e00\u4e2a\u8fdb\u7a0b\u65f6\uff0c\u5b83\u7684\u7b2c\u4e00\u4e2a\u7ebf\u7a0b\u79f0\u4e3a\u4e3b\u7ebf\u7a0b\uff08Primary thread\uff09\uff0c\u7531\u7cfb\u7edf\u81ea\u52a8\u751f\u6210\u3002\u7136\u540e\u53ef\u4ee5\u7531\u8fd9\u4e2a\u4e3b\u7ebf\u7a0b\u751f\u6210\u989d\u5916\u7684\u7ebf\u7a0b\uff0c\u800c\u8fd9\u4e9b\u7ebf\u7a0b\uff0c\u53c8\u53ef\u4ee5\u751f\u6210\u66f4\u591a\u7684\u7ebf\u7a0b\u3002\u5728\u8fd0\u884c\u4e00\u4e2a\u591a\u7ebf\u7a0b\u7684\u7a0b\u5e8f\u65f6\uff0c\u4ece\u8868\u9762\u4e0a\u770b\uff0c\u8fd9\u4e9b\u7ebf\u7a0b\u4f3c\u4e4e\u5728\u540c\u65f6\u8fd0\u884c\u3002\u800c\u5b9e\u9645\u60c5\u51b5\u5e76\u975e\u5982\u6b64\uff0c\u4e3a\u4e86\u8fd0\u884c\u6240\u6709\u7684\u8fd9\u4e9b\u7ebf\u7a0b\uff0c\u64cd\u4f5c\u7cfb\u7edf\u4e3a\u6bcf\u4e2a\u72ec\u7acb\u7ebf\u7a0b\u5b89\u6392\u4e00\u4e9bCPU\u65f6\u95f4\u3002\u5355CPU\u64cd\u4f5c\u7cfb\u7edf\u4ee5\u65f6\u95f4\u7247\u8f6e\u8f6c\u65b9\u5f0f\u5411\u7ebf\u7a0b\u63d0\u4f9b\u65f6\u95f4\u7247\uff08Quantum\uff09\uff0c\u6bcf\u4e2a\u7ebf\u7a0b\u5728\u4f7f\u7528\u5b8c\u65f6\u95f4\u7247\u540e\u4ea4\u51fa\u63a7\u5236\uff0c\u7cfb\u7edf\u518d\u5c06CPU\u65f6\u95f4\u7247\u5206\u914d\u7ed9\u4e0b\u4e00\u4e2a\u7ebf\u7a0b\u3002\u7531\u4e8e\u6bcf\u4e2a\u65f6\u95f4\u7247\u8db3\u591f\u7684\u77ed\uff0c\u8fd9\u6837\u5c31\u7ed9\u4eba\u4e00\u79cd\u5047\u8c61\uff0c\u597d\u50cf\u8fd9\u4e9b\u7ebf\u7a0b\u5728\u540c\u65f6\u8fd0\u884c\u3002\u521b\u5efa\u989d\u5916\u7ebf\u7a0b\u7684\u552f\u4e00\u76ee\u7684\u5c31\u662f\u5c3d\u53ef\u80fd\u5730\u5229\u7528CPU\u65f6\u95f4\u3002<\/p>\n

\u591a\u7ebf\u7a0b\u7684\u95ee\u9898\u00a0<\/strong><\/span><\/div>\n

\u4f7f\u7528\u591a\u7ebf\u7a0b\u7f16\u7a0b\u53ef\u4ee5\u7ed9\u7a0b\u5e8f\u5458\u5e26\u6765\u5f88\u5927\u7684\u7075\u6d3b\u6027\uff0c\u540c\u65f6\u4e5f\u4f7f\u539f\u6765\u9700\u8981\u590d\u6742\u6280\u5de7\u624d\u80fd\u89e3\u51b3\u7684\u95ee\u9898\u53d8\u5f97\u5bb9\u6613\u8d77\u6765\u3002\u4f46\u662f\uff0c\u4e0d\u5e94\u8be5\u4eba\u4e3a\u5730\u5c06\u7f16\u5199\u7684\u7a0b\u5e8f\u5206\u6210\u4e00\u4e9b\u788e\u7247\uff0c\u8ba9\u8fd9\u4e9b\u788e\u7247\u6309\u5404\u81ea\u7684\u7ebf\u7a0b\u6267\u884c\uff0c\u8fd9\u4e0d\u662f\u5f00\u53d1\u5e94\u7528\u7a0b\u5e8f\u7684\u6b63\u786e\u65b9\u6cd5\u3002\u7ebf\u7a0b\u5f88\u6709\u7528\uff0c\u4f46\u5f53\u4f7f\u7528\u7ebf\u7a0b\u65f6\uff0c\u53ef\u80fd\u4f1a\u5728\u89e3\u51b3\u8001\u95ee\u9898\u7684\u540c\u65f6\u4ea7\u751f\u65b0\u95ee\u9898\u3002\u4f8b\u5982\u8981\u5f00\u53d1\u4e00\u4e2a\u5b57\u5904\u7406\u7a0b\u5e8f\uff0c\u5e76\u60f3\u8ba9\u6253\u5370\u529f\u80fd\u4f5c\u4e3a\u5355\u72ec\u7684\u7ebf\u7a0b\u81ea\u5df1\u6267\u884c\u3002\u8fd9\u542c\u8d77\u6765\u662f\u5f88\u597d\u7684\u4e3b\u610f\uff0c\u56e0\u4e3a\u5728\u6253\u5370\u65f6\uff0c\u7528\u6237\u53ef\u7acb\u5373\u8fd4\u56de\uff0c\u5f00\u59cb\u7f16\u8f91\u6587\u6863\u3002\u4f46\u8fd9\u6837\u4e00\u6765\uff0c\u5728\u8be5\u6587\u6863\u88ab\u6253\u5370\u65f6\u6587\u6863\u4e2d\u7684\u6570\u636e\u5c31\u6709\u53ef\u80fd\u88ab\u4fee\u6539\uff0c\u6253\u5370\u7684\u7ed3\u679c\u5c31\u4e0d\u518d\u662f\u6240\u671f\u671b\u7684\u5185\u5bb9\u3002\u4e5f\u8bb8\u6700\u597d\u4e0d\u8981\u628a\u6253\u5370\u529f\u80fd\u653e\u5728\u5355\u72ec\u7684\u7ebf\u7a0b\u4e2d\uff0c\u4e0d\u8fc7\u5982\u679c\u4e00\u5b9a\u8981\u7528\u591a\u7ebf\u7a0b\u7684\u8bdd\uff0c\u4e5f\u53ef\u4ee5\u8003\u8651\u7528\u4e0b\u9762\u7684\u65b9\u6cd5\u89e3\u51b3\uff1a\u7b2c\u4e00\u79cd\u65b9\u6cd5\u662f\u9501\u5b9a\u6b63\u5728\u6253\u5370\u7684\u6587\u6863\uff0c\u8ba9\u7528\u6237\u7f16\u8f91\u5176\u4ed6\u7684\u6587\u6863\uff0c\u8fd9\u6837\u5728\u7ed3\u675f\u6253\u5370\u4e4b\u524d\uff0c\u8be5\u6587\u6863\u4e0d\u4f1a\u4f5c\u4efb\u4f55\u4fee\u6539\uff1b\u53e6\u4e00\u4e2a\u65b9\u6cd5\u53ef\u80fd\u66f4\u6709\u6548\u4e00\u4e9b\uff0c\u5373\u53ef\u4ee5\u628a\u8be5\u6587\u6863\u62f7\u8d1d\u5230\u4e00\u4e2a\u4e34\u65f6\u6587\u4ef6\u4e2d\uff0c\u6253\u5370\u8fd9\u4e2a\u4e34\u65f6\u6587\u4ef6\u7684\u5185\u5bb9\uff0c\u540c\u65f6\u5141\u8bb8\u7528\u6237\u5bf9\u539f\u6765\u7684\u6587\u6863\u8fdb\u884c\u4fee\u6539\u3002\u5f53\u5305\u542b\u6587\u6863\u7684\u4e34\u65f6\u6587\u4ef6\u6253\u5370\u5b8c\u6210\u65f6\uff0c\u518d\u5220\u53bb\u8fd9\u4e2a\u4e34\u65f6\u6587\u4ef6\u3002\u901a\u8fc7\u4e0a\u9762\u7684\u5206\u6790\u53ef\u4ee5\u770b\u51fa\uff0c\u591a\u7ebf\u7a0b\u5728\u5e2e\u52a9\u89e3\u51b3\u95ee\u9898\u7684\u540c\u65f6\u4e5f\u53ef\u80fd\u5e26\u6765\u65b0\u95ee\u9898\u3002\u56e0\u6b64\u6709\u5fc5\u8981\u5f04\u6e05\u695a\uff0c\u4ec0\u4e48\u65f6\u5019\u9700\u8981\u521b\u5efa\u591a\u7ebf\u7a0b\uff0c\u4ec0\u4e48\u65f6\u5019\u4e0d\u9700\u8981\u591a\u7ebf\u7a0b\u3002\u603b\u7684\u6765\u8bf4\uff0c\u591a\u7ebf\u7a0b\u5f80\u5f80\u7528\u4e8e\u5728\u524d\u53f0\u64cd\u4f5c\u7684\u540c\u65f6\u8fd8\u9700\u8981\u8fdb\u884c\u540e\u53f0\u7684\u8ba1\u7b97\u6216\u903b\u8f91\u5224\u65ad\u7684\u60c5\u51b5\u3002<\/p>\n

\u7ebf\u7a0b\u7684\u5206\u7c7b\u00a0<\/strong><\/span><\/div>\n

\u5728MFC\u4e2d\uff0c\u7ebf\u7a0b\u88ab\u5206\u4e3a\u4e24\u7c7b\uff0c\u5373\u5de5\u4f5c\u7ebf\u7a0b\u548c\u7528\u6237\u754c\u9762\u7ebf\u7a0b\u3002\u5982\u679c\u4e00\u4e2a\u7ebf\u7a0b\u53ea\u5b8c\u6210\u540e\u53f0\u8ba1\u7b97\uff0c\u4e0d\u9700\u8981\u548c\u7528\u6237\u4ea4\u4e92\uff0c\u90a3\u4e48\u53ef\u4ee5\u4f7f\u7528\u5de5\u4f5c\u7ebf\u7a0b\uff1b\u5982\u679c\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u5904\u7406\u7528\u6237\u754c\u9762\u7684\u7ebf\u7a0b\uff0c\u5219\u5e94\u4f7f\u7528\u7528\u6237\u754c\u9762\u7ebf\u7a0b\u3002\u8fd9\u4e24\u8005\u7684\u4e3b\u8981\u533a\u522b\u5728\u4e8e\uff0cMFC\u6846\u67b6\u4f1a\u7ed9\u7528\u6237\u754c\u9762\u7ebf\u7a0b\u589e\u52a0\u4e00\u4e2a\u6d88\u606f\u5faa\u73af\uff0c\u8fd9\u6837\u7528\u6237\u754c\u9762\u7ebf\u7a0b\u5c31\u53ef\u4ee5\u5904\u7406\u81ea\u5df1\u6d88\u606f\u961f\u5217\u4e2d\u7684\u6d88\u606f\u3002\u8fd9\u6837\u770b\u6765\uff0c\u5982\u679c\u9700\u8981\u5728\u540e\u53f0\u4f5c\u4e00\u4e9b\u7b80\u5355\u7684\u8ba1\u7b97\uff08\u5982\u5bf9\u7535\u5b50\u8868\u683c\u7684\u91cd\u7b97\uff09\uff0c\u5219\u9996\u5148\u5e94\u8003\u8651\u4f7f\u7528\u5de5\u4f5c\u7ebf\u7a0b\uff0c\u800c\u5f53 \u540e\u53f0\u7ebf\u7a0b\u9700\u8981\u5904\u7406\u6bd4\u8f83\u590d\u6742\u7684\u4efb\u52a1\uff0c\u786e\u5207\u5730\u8bf4\uff0c\u5f53\u540e\u53f0\u7ebf\u7a0b\u7684\u6267\u884c\u8fc7\u7a0b\u4f1a\u968f\u7740\u5b9e\u9645\u60c5\u51b5\u7684\u4e0d\u540c\u800c\u6539\u53d8\u65f6\uff0c\u5c31\u5e94\u8be5\u4f7f\u7528\u7528\u6237\u754c\u9762\u7ebf\u7a0b\uff0c\u4ee5\u4fbf\u80fd\u5bf9\u4e0d\u540c\u7684\u6d88\u606f\u4f5c\u51fa\u54cd\u5e94\u3002<\/p>\n

\u7ebf\u7a0b\u7684\u4f18\u5148\u7ea7<\/strong><\/span><\/div>\n

\u5f53\u7cfb\u7edf\u9700\u8981\u540c\u65f6\u6267\u884c\u591a\u4e2a\u8fdb\u7a0b\u6216\u591a\u4e2a\u7ebf\u7a0b\u65f6\uff0c\u6709\u65f6\u4f1a\u9700\u8981\u6307\u5b9a\u7ebf\u7a0b\u7684\u4f18\u5148\u7ea7\u3002\u7ebf\u7a0b\u7684\u4f18\u5148\u7ea7\u4e00\u822c\u662f\u6307\u8fd9\u4e2a\u7ebf\u7a0b\u7684\u57fa\u4f18\u5148\u7ea7\uff0c\u5373\u7ebf\u7a0b\u76f8\u5bf9\u4e8e\u672c\u8fdb\u7a0b\u7684\u76f8\u5bf9\u4f18\u5148\u7ea7\u548c\u5305\u542b\u6b64\u7ebf\u7a0b\u7684\u8fdb\u7a0b\u7684\u4f18\u5148\u7ea7\u7684\u7ed3\u5408\u3002\u64cd\u4f5c\u7cfb\u7edf\u4ee5\u4f18\u5148\u7ea7\u4e3a\u57fa\u7840\u5b89\u6392\u6240\u6709\u7684\u6d3b\u52a8\u7ebf\u7a0b\uff0c\u7cfb\u7edf\u7684\u6bcf\u4e00\u4e2a\u7ebf\u7a0b\u90fd\u88ab\u5206\u914d\u4e86\u4e00\u4e2a\u4f18\u5148\u7ea7\uff0c\u4f18\u5148\u7ea7\u7684\u8303\u56f4\u4ece0\u523031\u3002\u8fd0\u884c\u65f6\uff0c\u7cfb\u7edf\u7b80\u5355\u5730\u7ed9\u7b2c\u4e00\u4e2a\u4f18\u5148\u7ea7\u4e3a31\u7684\u7ebf\u7a0b\u5206\u914dCPU\u65f6\u95f4\uff0c\u5728\u8be5\u7ebf\u7a0b\u7684\u65f6\u95f4\u7247\u7ed3\u675f\u540e\uff0c\u7cfb\u7edf\u7ed9\u4e0b\u4e00\u4e2a\u4f18\u5148\u7ea7\u4e3a31\u7684\u7ebf\u7a0b\u5206\u914dCPU\u65f6\u95f4\u3002\u5f53\u6ca1\u6709\u4f18\u5148\u7ea7\u4e3a31\u7684\u7ebf\u7a0b\u65f6\uff0c\u7cfb\u7edf\u5c06\u5f00\u59cb\u7ed9\u4f18\u5148\u7ea7\u4e3a30\u7684\u7ebf\u7a0b\u5206\u914dCPU\u65f6\u95f4\uff0c\u4ee5\u6b64\u7c7b\u63a8\u3002\u9664\u4e86\u7a0b\u5e8f\u5458\u5728\u7a0b\u5e8f\u4e2d\u6539\u53d8\u7ebf\u7a0b\u7684\u4f18\u5148\u7ea7\u5916\uff0c\u6709\u65f6\u7a0b\u5e8f\u5728\u6267\u884c\u8fc7\u7a0b\u4e2d\u7cfb\u7edf\u4e5f\u4f1a\u81ea\u52a8\u5730\u52a8\u6001\u6539\u53d8\u7ebf\u7a0b\u7684\u4f18\u5148\u7ea7\uff0c\u8fd9\u662f\u4e3a\u4e86\u4fdd\u8bc1\u7cfb\u7edf\u5bf9\u7ec8\u7aef\u7528\u6237\u7684\u9ad8\u5ea6\u54cd\u5e94\u6027\u3002\u6bd4\u5982\u7528\u6237\u6309\u4e86\u952e\u76d8\u4e0a\u7684\u67d0\u4e2a\u952e\u65f6\uff0c\u7cfb\u7edf\u5c31\u4f1a\u4e34\u65f6\u5c06\u5904\u7406WM_KEYDOWN\u6d88\u606f\u7684\u7ebf\u7a0b\u7684\u4f18\u5148\u7ea7\u63d0\u9ad82\u52303\u3002CPU\u6309\u4e00\u4e2a\u5b8c\u6574\u7684\u65f6\u95f4\u7247\u6267\u884c\u7ebf\u7a0b\uff0c\u5f53\u65f6\u95f4\u7247\u6267\u884c\u5b8c\u6bd5\u540e\uff0c\u7cfb\u7edf\u5c06\u8be5\u7ebf\u7a0b\u7684\u4f18\u5148\u7ea7\u51cf1\u3002<\/p>\n

\u7ebf\u7a0b\u7684\u540c\u6b65<\/strong><\/span><\/div>\n

\u5728\u4f7f\u7528\u591a\u7ebf\u7a0b\u7f16\u7a0b\u65f6\uff0c\u8fd8\u6709\u4e00\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u95ee\u9898\u5c31\u662f\u7ebf\u7a0b\u540c\u6b65\u3002\u6240\u8c13\u7ebf\u7a0b\u540c\u6b65\u662f\u6307\u7ebf\u7a0b\u4e4b\u95f4\u5728\u76f8\u4e92\u901a\u4fe1\u65f6\u907f\u514d\u7834\u574f\u5404\u81ea\u6570\u636e\u7684\u80fd\u529b\u3002\u540c\u6b65\u95ee\u9898\u662f\u7531\u524d\u9762\u8bf4\u5230\u7684Win32\u7cfb\u7edf\u7684CPU\u65f6\u95f4\u7247\u5206\u914d\u65b9\u5f0f\u5f15\u8d77\u7684\u3002\u867d\u7136\u5728\u67d0\u4e00\u65f6\u523b\uff0c\u53ea\u6709\u4e00\u4e2a\u7ebf\u7a0b\u5360\u7528CPU\uff08\u5355CPU\u65f6\uff09\u65f6\u95f4\uff0c\u4f46\u662f\u6ca1\u6709\u529e\u6cd5\u77e5\u9053\u5728\u4ec0\u4e48\u65f6\u5019\uff0c\u5728\u4ec0\u4e48\u5730\u65b9\u7ebf\u7a0b\u88ab\u6253\u65ad\uff0c\u8fd9\u6837\u5982\u4f55\u4fdd\u8bc1\u7ebf\u7a0b\u4e4b\u95f4\u4e0d\u7834\u574f\u5f7c\u6b64\u7684\u6570\u636e\u5c31\u663e\u5f97\u683c\u5916\u91cd\u8981\u3002\u5728MFC\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u75284\u4e2a\u540c\u6b65\u5bf9\u8c61\u6765\u4fdd\u8bc1\u591a\u7ebf\u7a0b\u540c\u65f6\u8fd0\u884c\u3002\u5b83\u4eec\u5206\u522b\u662f\u4e34\u754c\u533a\u5bf9\u8c61\uff08CCriticalSection\uff09\u3001\u4e92\u65a5\u91cf\u5bf9\u8c61\uff08CMutex\uff09\u3001\u4fe1\u53f7\u91cf\u5bf9\u8c61\uff08CS emaphore\uff09\u548c\u4e8b\u4ef6\u5bf9\u8c61\uff08CEvent\uff09\u3002\u5728\u8fd9\u4e9b\u5bf9\u8c61\u4e2d\uff0c\u4e34\u754c\u533a\u5bf9\u8c61\u4f7f\u7528\u8d77\u6765\u6700\u7b80\u5355\uff0c\u5b83\u7684\u7f3a\u70b9\u662f\u53ea\u80fd\u540c\u6b65\u540c\u4e00\u4e2a\u8fdb\u7a0b\u4e2d\u7684\u7ebf\u7a0b\u3002\u53e6\u5916\uff0c\u8fd8\u6709\u4e00\u79cd\u57fa\u672c\u7684\u65b9\u6cd5\uff0c\u672c\u6587\u79f0\u4e3a\u7ebf\u6027\u5316\u65b9\u6cd5\uff0c\u5373\u5728\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u5bf9\u4e00\u5b9a\u6570\u636e\u7684\u5199\u64cd\u4f5c\u90fd\u5728\u4e00\u4e2a\u7ebf\u7a0b\u4e2d\u5b8c\u6210\u3002\u8fd9\u6837\uff0c\u7531\u4e8e\u540c\u4e00\u7ebf\u7a0b\u4e2d\u7684\u4ee3\u7801\u603b\u662f\u6309\u987a\u5e8f\u6267\u884c\u7684\uff0c\u5c31\u4e0d\u53ef\u80fd\u51fa\u73b0\u540c\u65f6\u6539\u5199\u6570\u636e\u7684\u60c5\u51b5\u3002<\/p>\n

\u603b\u7ed3\uff1a<\/strong><\/span><\/div>\n

\u5728\u7ebf\u7a0b\u4e2d\uff08\u76f8\u5bf9\u4e0e\u8fdb\u7a0b\u800c\u8a00\uff09\uff0c\u7ebf\u7a0b\u662f\u4e00\u4e2a\u66f4\u52a0\u63a5\u8fd1\u6267\u884c\u4f53\u7684\u6982\u5ff5\uff0c\u5b83\u53ef\u4ee5\u4e0e\u540c\u8fdb\u7a0b\u7684\u5176\u4ed6\u7ebf\u7a0b\u5171\u4eab\u6570\u636e\uff0c\u4f46\u62e5\u6709\u81ea\u5df1\u7684\u6808\u7a7a\u95f4\uff0c\u62e5\u6709\u72ec\u7acb\u7684\u6267\u884c\u5e8f\u5217\u3002\u8fd9\u4e24\u8005\u90fd\u53ef\u4ee5\u63d0\u9ad8\u7a0b\u5e8f\u7684\u5e76\u53d1\u5ea6\uff0c\u63d0\u9ad8\u7a0b\u5e8f\u8fd0\u884c\u7684\u6548\u7387\u548c\u54cd\u5e94\u7684\u65f6\u95f4\u3002\u7ebf\u7a0b\u548c\u8fdb\u7a0b\u5728\u4f7f\u7528\u4e0a\u5404\u6709\u4f18\u7f3a\u70b9\uff1a\u7ebf\u7a0b\u6267\u884c\u5f00\u9500\u5c0f\uff0c\u4f46\u4e0d\u5229\u4e8e\u8d44\u6e90\u7ba1\u7406\u548c\u4fdd\u62a4\uff1b\u800c\u8fdb\u7a0b\u6b63\u597d\u76f8\u53cd\u3002\u6839\u672c\u7684\u533a\u522b\u5c31\u4e00\u70b9\uff1a\u7528\u591a\u8fdb\u7a0b\u6bcf\u4e2a\u8fdb\u7a0b\u6709\u81ea\u5df1\u7684\u5730\u5740\u7a7a\u95f4\uff0c\u7ebf\u7a0b\u5219\u5171\u4eab\u5730\u5740\u7a7a\u95f4\uff0c\u5728\u901f\u5ea6\u65b9\u9762\uff1a\u7ebf\u7a0b\u4ea7\u751f\u7684\u901f\u5ea6\u5feb\uff0c\u7ebf\u7a0b\u95f4\u7684\u901a\u8baf\u5feb\uff0c\u5207\u6362\u5feb\u7b49\uff0c\u56e0\u4e3a\u4ed6\u4eec\u5728\u540c\u4e00\u5730\u5740\u7a7a\u95f4\u5185\u3002\u5728\u8d44\u6e90\u5229\u7528\u7387\u65b9\u9762\uff1a\u7ebf\u7a0b\u7684\u8d44\u6e90\u7387\u6bd4\u8f83\u597d\u4e5f\u662f\u56e0\u4e3a\u4ed6\u4eec\u5728\u540c\u4e00\u5730\u5740\u7a7a\u95f4\u5185\u3002 \u5728\u540c\u6b65\u65b9\u9762\uff1a\u7ebf\u7a0b\u4f7f\u7528\u516c\u5171\u53d8\u91cf\/\u5185\u5b58\u65f6\u9700\u8981\u4f7f\u7528\u540c\u6b65\u673a\u5236\uff0c\u56e0\u4e3a\u4ed6\u4eec\u5728\u540c\u4e00\u5730\u5740\u7a7a\u95f4\u5185\u8fdb\u7a0b\u4e2d\uff1a\u5b50\u8fdb\u7a0b\u662f\u7236\u8fdb\u7a0b\u7684\u590d\u5236\u54c1\uff0c\u5b50\u8fdb\u7a0b\u83b7\u5f97\u7236\u8fdb\u7a0b\u6570\u636e\u7a7a\u95f4\u3001\u5806\u548c\u6808\u7684\u590d\u5236\u54c1\u3002<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/mp.weixin.qq.com\/s\/YSuVeEjsILjKJ-lcdN4lKw<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttps:\/\/lrxjmw.cn\/linux-process-thread.html<\/a>\u7f16\u8f91\uff1a\u59dc\u4f20\u5e7f\u00a0 \u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u5bfc\u8bfb \u5728Linux\u4e2d\uff0c\u6bcf\u4e2a\u8fdb\u7a0b\u5728\u521b\u5efa\u7684\u65f6\u90fd\u4f1a\u88ab\u5206\u914d\u4e00\u4e2a\u6570\u636e\u7ed3\u6784\uff0c\u79f0\u4e3a\u8fdb\u7a0b\u63a7\u5236\u5757\uff08PCB\uff09\u3002PCB\u4e2d\u5305\u542b\u4e86\u5f88\u591a\u91cd […]<\/p>\n","protected":false},"author":1898,"featured_media":110733,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[109],"class_list":["post-110731","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-linux"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/110731","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\/1898"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=110731"}],"version-history":[{"count":4,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/110731\/revisions"}],"predecessor-version":[{"id":110873,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/110731\/revisions\/110873"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/110733"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=110731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=110731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=110731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}