Posted in

Go动态链接必须死记的6个ABI约束:函数签名must be C-compatible、struct不能含interface、slice需手动传len/cap…

第一章:Go动态链接的ABI约束 … Go动态链接必须死记的6个ABI约束:函数签名must be C-compatible、struct不能含interface、slice需手动传len/cap…Read more

Posted in

Go动态链接的“时间炸弹”:当plugin.Open加载的.so被rm -f后,进程竟持续运行3小时才panic?真相是mmap refcount延迟释放

第一章:Go动态链接的“时间炸弹 … Go动态链接的“时间炸弹”:当plugin.Open加载的.so被rm -f后,进程竟持续运行3小时才panic?真相是mmap refcount延迟释放Read more