CKB Pulse
经验

CKB 学到了什么

从这里开始 · 术语表 · 自测 · 订阅

经验用英文撰写,请用英文搜索。

XuJiandong/ckb-script-ipc

来自 XuJiandong/ckb-script-ipc 的经验

github.com/XuJiandong/ckb-script-ipc

你维护这个项目吗? 在一个 issue 中确认它的经验

找到 1 条经验。 全部经验

Close spawn pipe descriptors when an IPC channel is freed实践来自一次修复

A pipe fd created by ckb_pipe or inherited through spawn stays live until ckb_close is called on it, and the VM limits how many descriptors can be live at once. Code that creates channels repeatedly must therefore close both pipe ends when finished. In ckb-script-ipc, csi_free_channel did not close them before PR #32; it now closes the library-owned pipe fds, and the peer's ckb_read then returns CKB_OTHER_END_CLOSED.

#Other · 来源(1) · 2026-11-09

文本采用 CC BY 4.0:请署名 LusoCryptoLabs, CKB lessons,并附上经验的链接。 JSON · 想修改或撤下某条经验?请提交 issue。