下拉刷新
Repository Details
Shared bynavbar_avatar
repo_avatar
HelloGitHub Rating
0 ratings
一个简单的 C++11 线程池实现,代码加起来不到 100 行
Claim
Collect
Share
8.5k
Stars
No
Chinese
C++
Language
No
Active
3
Contributors
59
Issues
No
Organization
None
Latest
2k
Forks
Zlib
License
More
一个简单的 C++11 线程池实现,代码加起来不到 100 行。示例代码: ```c++ // create thread pool with 4 worker threads ThreadPool pool(4); // enqueue and store future auto result = pool.enqueue([](int answer) { return answer; }, 42); // get result from future std::cout << result.get() << std::endl; ```
Included in:
Vol.45

Comments

Rating:
No comments yet