1 Star 0 Fork 0

gxj/delve

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
testthreads.go 248 Bytes
一键复制 编辑 原始数据 按行查看 历史
Derek Parker 提交于 2015-06-20 22:47 . Introduce JSON-RPC service
package main
import (
"fmt"
"sync"
)
func anotherthread(wg *sync.WaitGroup) {
i := 1 * 5 / 39020
fmt.Println(i)
wg.Done()
}
func main() {
var wg sync.WaitGroup
for i := 0; i < 10; i++ {
wg.Add(1)
go anotherthread(&wg)
}
wg.Wait()
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/guoxiaojun19991011/delve.git
git@gitee.com:guoxiaojun19991011/delve.git
guoxiaojun19991011
delve
delve
v0.9.0-alpha

搜索帮助

D67c1975 1850385 1daf7b77 1850385