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

请教下:TcpServer类中的run方法代码块为啥要加锁呢?我发现项目中并没有多个线程对这个类同一个实例对象的run方法进行访问啊。 #44

Open
Linmingf opened this issue Nov 1, 2019 · 1 comment
Labels

Comments

@Linmingf
Copy link

Linmingf commented Nov 1, 2019

No description provided.

@jzyong
Copy link
Owner

jzyong commented Nov 7, 2019

防止多线程调用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants