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

Better usage of mutex #7

Open
hanagantig opened this issue Dec 26, 2021 · 0 comments
Open

Better usage of mutex #7

hanagantig opened this issue Dec 26, 2021 · 0 comments
Labels
good first issue Good for newcomers improvement Indicates a need for improvements in code

Comments

@hanagantig
Copy link
Owner

Currently, there are some methods, where we can lock/unlock mutex twice.
For instance (e *AsyncError) Close() will lock/unlock in e.IsClosed() and also has own lock/unlock.

@hanagantig hanagantig added good first issue Good for newcomers improvement Indicates a need for improvements in code labels Dec 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers improvement Indicates a need for improvements in code
Projects
None yet
Development

No branches or pull requests

1 participant