Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

c04/c04_06 #56

Open
utterances-bot opened this issue Sep 9, 2022 · 3 comments
Open

c04/c04_06 #56

utterances-bot opened this issue Sep 9, 2022 · 3 comments

Comments

@utterances-bot
Copy link

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

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

Copy link

$ 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

Copy link

Feanmy commented Feb 21, 2023

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

Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants