Skip to content

Commit bc6f42c

Browse files
添加go常见问题
1 parent c96e64b commit bc6f42c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

go/go常见问题.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,13 @@ func main() {
105105
}
106106
```
107107

108-
通过以上方法,可以有效缓解长时间调用 C++ 接口导致的 Go 协程能力下降问题。希望这些解决方案对你有所帮助!
108+
109+
110+
之前的同事写了一般,但是 需要用到 cgo 调用 c 的命令来做,但是调用过程没办法设置超时时间,而且 cgo 调用类似于阻塞 IO,它们在操作期间消耗一个系统线程。性能也不会很好
111+
112+
113+
https://xiaorui.cc/archives/5408
114+
https://blog.csdn.net/qq_35423190/article/details/122555102
109115

110116

111117

0 commit comments

Comments
 (0)