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

capacity-limiter-api: make AimdCapacityLimiter use ReentrantLock #3025

Conversation

bryce-anderson
Copy link
Contributor

Motivation:

Right now AimdCapacityLimiter uses a custom spin-lock whereas most everywhere else we use a ReentrantLock if locking is necessary.

Modifications:

Convert it to a ReentrantLock.

Result:

More uniformity.

Motivation:

Right now AimdCapacityLimiter uses a custom spin-lock whereas
most everywhere else we use a ReentrantLock if locking is necessary.

Modifications:

Convert it to a ReentrantLock.

Result:

More uniformity.
@bryce-anderson bryce-anderson merged commit 4e7d64e into apple:main Jul 31, 2024
11 checks passed
@bryce-anderson bryce-anderson deleted the bl_anderson/AimdCapacityLimiterUseReentrantLock branch July 31, 2024 17:07
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

Successfully merging this pull request may close these issues.

3 participants