upd: [ipc] yield

This commit is contained in:
mutouyun 2022-10-30 12:26:43 +08:00
parent 2dd85adc52
commit 7d39e5395a

View File

@ -34,7 +34,7 @@ inline void yield(K &k) noexcept {
else
if (k < 32) { std::this_thread::yield(); }
else {
std::this_thread::sleep_for(std::chrono::milliseconds(1));
std::this_thread::sleep_for(std::chrono::microseconds(1));
return;
}
++k;