GolangCodingTime icon indicating copy to clipboard operation
GolangCodingTime copied to clipboard

c04/c04_06

Open utterances-bot opened this issue 3 years ago • 3 comments

4.6 学习 Go 协程:互斥锁和读写锁 — Go编程时光 1.0.0 documentation

https://golang.iswbm.com/c04/c04_06.html

utterances-bot avatar Sep 09 '22 03:09 utterances-bot

$ go run main.go count 的值为: 3000

$ go run main.go count 的值为: 3000

$ go run main.go count 的值为: 3000

$ go run main.go count 的值为: 3000

$ go run main.go count 的值为: 3000 哈哈,笑死了,就一直是3000

kaka-milan-22 avatar Sep 09 '22 03:09 kaka-milan-22

哈哈,同上,一直执行,也都是3000

Feanmy avatar Feb 21 '23 02:02 Feanmy

哈哈,同上,一直执行,也都是3000

不放把这个n调大,就会出现了

lekuyuan avatar Jul 12 '23 05:07 lekuyuan