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

C++11 #13

Open
sunlulu427 opened this issue May 13, 2019 · 1 comment
Open

C++11 #13

sunlulu427 opened this issue May 13, 2019 · 1 comment

Comments

@sunlulu427
Copy link

大佬你好,你的服务器我看了,写的的确很不错,不过有一点我不太懂,因为C++11中已经包含了thread类和mutex类,写线程池和锁的使用都很方便,为什么没有使用呢?

@linyacool
Copy link
Owner

posix接口的函数是基础,我这是个学习用的项目,更倾向于尽可能自己实现。不过你也可以关注下现在开源的网络库,大都自己封装了posix接口,公司里的也一样,好处是不依赖C++11。

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

No branches or pull requests

2 participants