mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
adjust comment
This commit is contained in:
parent
b5ae2746a2
commit
f962dc4cb5
@ -126,7 +126,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (k < 1024) std::this_thread::yield();
|
if (k < 1024) std::this_thread::yield();
|
||||||
// yielding coarsening
|
// yielding => sleeping
|
||||||
else std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
else std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user