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

双检锁是不是应该在外层还有一个if ==nil的判断呢? #1

Open
davichi11 opened this issue Nov 2, 2018 · 2 comments
Open

Comments

@davichi11
Copy link

No description provided.

@silsuer
Copy link
Owner

silsuer commented Nov 2, 2018

哪个位置?我简单过了一遍,好像没有看到缺少的位置

@bkkkc
Copy link

bkkkc commented Feb 25, 2019

看了作者有写的,不过描述有点问题,并不是每次都需要判断两次,有实例后只有一次判断

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

3 participants