Skip to content

Conversation

@Daydream0929
Copy link

  1. 使用std::shared_mutex定义两个读写锁user_mtx,login_mtx
  2. 使用std::chrono::seconds类型计算时间差
  3. 添加~ThreadPool()析构函数,在析构函数内存实现所有线程join操作

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