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

Is this if block necessary? #7

Closed
yiting007 opened this issue Feb 10, 2018 · 1 comment
Closed

Is this if block necessary? #7

yiting007 opened this issue Feb 10, 2018 · 1 comment
Labels

Comments

@yiting007
Copy link

if (lock.queue.length) {

You have called lock.queue[0]() in the release already.

@yiting007
Copy link
Author

Ah nvm, this is for concurrent reading :)

@71104 71104 added the question label Jan 12, 2020
@71104 71104 closed this as completed Jan 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants