Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Lock] fix derivating semaphore from key #41990

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

Merged
merged 1 commit into from
Jul 5, 2021

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Jul 5, 2021

Q A
Branch? 4.4
Bug fix? no
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

A crc32 is a 32bits number.
This new code uses a 64bits number on x64.
This reduces the risk of collision (that could cause a deadlock) by a huge amount.

@nicolas-grekas nicolas-grekas merged commit ba7e97d into symfony:4.4 Jul 5, 2021
@nicolas-grekas nicolas-grekas deleted the lock-sem branch July 5, 2021 20:17
This was referenced Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants