Searched refs:sleep_us (Results 1 – 1 of 1) sorted by relevance
895 useconds_t sleep_us = kThreadSuspendInitialSleepUs; in SuspendThreadByPeer() local988 } else if (sleep_us == 0 && in SuspendThreadByPeer()992 sleep_us = kThreadSuspendMaxYieldUs / 2; in SuspendThreadByPeer()998 ThreadSuspendSleep(sleep_us); in SuspendThreadByPeer()1001 sleep_us = std::min(sleep_us * 2, kThreadSuspendMaxSleepUs); in SuspendThreadByPeer()1015 useconds_t sleep_us = kThreadSuspendInitialSleepUs; in SuspendThreadByThreadId() local1094 } else if (sleep_us == 0 && in SuspendThreadByThreadId()1098 sleep_us = kThreadSuspendMaxYieldUs / 2; in SuspendThreadByThreadId()1104 ThreadSuspendSleep(sleep_us); in SuspendThreadByThreadId()1105 sleep_us = std::min(sleep_us * 2, kThreadSuspendMaxSleepUs); in SuspendThreadByThreadId()