CKB Pulse
Lições

O que a CKB aprendeu

Começa aqui · Glossário · Testa-te · Feed

As lições estão escritas em inglês, por isso pesquise em inglês.

XuJiandong/ckb-script-ipc

Lições de XuJiandong/ckb-script-ipc

github.com/XuJiandong/ckb-script-ipc

Manténs este projeto? Confirma as lições dele num só issue

1 lições encontradas. Todas as lições

Close spawn pipe descriptors when an IPC channel is freedPráticoDe uma correção

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 · Fontes (1) · 2026-11-09

Texto sob CC BY 4.0: dá crédito à LusoCryptoLabs, CKB lessons, com uma ligação para a lição. JSON · Queres que uma lição seja mudada ou retirada? Abre um issue.