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

[pool] remove spawning mutex #3

Merged
merged 2 commits into from
Sep 25, 2019
Merged

[pool] remove spawning mutex #3

merged 2 commits into from
Sep 25, 2019

Conversation

shmel1k
Copy link
Owner

@shmel1k shmel1k commented Sep 25, 2019

No description provided.

pool.go Outdated
p.mu.Unlock()
return ErrPoolFull
var swapped bool
for {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for !swapped или swapped не объявлять до цикла

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copy link

@n-canter n-canter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!

@shmel1k
Copy link
Owner Author

shmel1k commented Sep 25, 2019

You're my sweety <3

@shmel1k shmel1k merged commit cdbe137 into master Sep 25, 2019
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.

2 participants