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

idlThrNum是原子变量,是否不需要加锁? #28

Open
ketop opened this issue Mar 15, 2023 · 1 comment
Open

idlThrNum是原子变量,是否不需要加锁? #28

ketop opened this issue Mar 15, 2023 · 1 comment

Comments

@ketop
Copy link

ketop commented Mar 15, 2023

你好,有点不理解的地方,idlThrNum是原子的,为啥修改时还要加锁?

@lzpong
Copy link
Owner

lzpong commented Mar 20, 2023

某些人, 不加锁, 不能理解,闹...

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

2 participants