lock-guard Questions

3

Solved

There is a class template Foo<T>. And for some specific type, a function should use lock_guard. Here is the example code: #include <type_traits> #include <mutex> #include <vect...
Poohpooh asked 24/4, 2023 at 6:40

1

Solved

I have read many of the questions already answered that relate to this but none of them gave me a clear understanding of which I should be using when I have multiple writers but a single reader. Th...
Restive asked 25/7, 2020 at 7:53
1

© 2022 - 2024 — McMap. All rights reserved.