mirror of
https://github.com/boostorg/unordered.git
synced 2025-05-11 13:34:06 +00:00
Remove unnenecessary spinning
This commit is contained in:
parent
32ff2f145e
commit
dbd1a929e6
@ -137,9 +137,6 @@ namespace {
|
||||
|
||||
t3 =
|
||||
std::thread([&x, &vals1, &m, &cv, &done1, &done2, &call_count, &ready] {
|
||||
while (x.empty()) {
|
||||
}
|
||||
|
||||
do {
|
||||
{
|
||||
std::unique_lock<std::mutex> lk(m);
|
||||
|
Loading…
x
Reference in New Issue
Block a user