Skip to content

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