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

hw05的作业 #32

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

hw05的作业 #32

wants to merge 3 commits into from

Conversation

Uuq114
Copy link

@Uuq114 Uuq114 commented Apr 15, 2022

  • 线程安全:对users加了读写锁,对has_login加了读写锁
  • 使用chrono:把has_loginvalue修改成time_point类型
  • 修改线程池:move新创建的线程,使用析构函数等待线程结束
  • 测试:把循环数目改小为10000,输出在output.txt

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.

1 participant