1 // See also https://bugs.kde.org/show_bug.cgi?id=416286
11 void get() { std::unique_lock
<std::mutex
> lock(mutex
); }
17 static counter
& get_counter()
19 static counter manager
;
30 std::vector
<std::thread
> v
;
32 for (int i
= 0; i
< 16; i
++)
33 v
.emplace_back([]{ do_work(); });
38 std::cerr
<< "Done.\n";