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

condition-variable | singheart's blog #13

Open
xinjiempolde opened this issue Sep 17, 2022 · 0 comments
Open

condition-variable | singheart's blog #13

xinjiempolde opened this issue Sep 17, 2022 · 0 comments

Comments

@xinjiempolde
Copy link
Owner

http://singhe.art/2022/08/13/condition-variable/

前面已经对mutex以及相关的lock进行了梳理,这里对thread和condition_variable做一个简单的梳理。 # std::thread通过该函数能够创建一个线程。 1234567891011121314#include #include void worker1_func() { for (int i =

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant