c++ concurrency

c ++ concurrency involves so a few things:

std::thread

std::mutex

std::lock_guard

std::lock

 

References:

http://en.cppreference.com/w/cpp/thread/lock

C ++ 11 concurrency guide three (std :: mutex Detailed)

Reproduced in: https: //www.cnblogs.com/gattaca/p/7162323.html

Guess you like

Origin blog.csdn.net/weixin_34168880/article/details/93524956