We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
llbe: Looks like isLocked() will release the lock if locked. LOCK_EX → LOCK_SH → LOCK_UN.
Huliek: You are right, though it is not common to check a lock which you locked in your own process.
I would have to add a boolean property "lockedBySelf" if I wanted to fix this, I suppose?
llbe: Yes, a property should replace the need of LOCK_SH.
The issue I see is that it is not expected that isLocked() changes anything.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
llbe:
Looks like isLocked() will release the lock if locked. LOCK_EX → LOCK_SH → LOCK_UN.
Huliek:
You are right, though it is not common to check a lock which you locked in your own process.
I would have to add a boolean property "lockedBySelf" if I wanted to fix this, I suppose?
llbe:
Yes, a property should replace the need of LOCK_SH.
The issue I see is that it is not expected that isLocked() changes anything.
The text was updated successfully, but these errors were encountered: