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

connection模块修复与优化 #285

Merged
merged 2 commits into from
Nov 23, 2023
Merged

connection模块修复与优化 #285

merged 2 commits into from
Nov 23, 2023

Conversation

xiongyuhmba
Copy link

1.去掉写消息读写锁
2.用CAS保护关闭时,finalizer线程安全
3.修复原来Go StartWriter时存在的多线程竞争问题(可能导致开启多个写协程)

xiongyu added 2 commits November 23, 2023 15:31
2.用CAS保护关闭时,finalizer线程安全
3.修复原来Go StartWriter时存在的多线程竞争问题(可能导致开启多个写协程)
@aceld
Copy link
Owner

aceld commented Nov 23, 2023

@xiongyuhmba 感谢提交PR!

@aceld aceld merged commit 7ab8f15 into aceld:master Nov 23, 2023
1 check passed
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