Skip to content

Conversation

orlp
Copy link

@orlp orlp commented Jun 4, 2025

By moving the WaitGroup counter outside of the Mutex the Clone and Drop implementations no longer have to lock at all except for the final Drop which wakes the others.

@orlp
Copy link
Author

orlp commented Jun 4, 2025

CI failures seem unrelated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant