Searched refs:sleep_us (Results 1 – 1 of 1) sorted by relevance
890 useconds_t sleep_us = kThreadSuspendInitialSleepUs; in SuspendThreadByPeer() local983 } else if (sleep_us == 0 && in SuspendThreadByPeer()987 sleep_us = kThreadSuspendMaxYieldUs / 2; in SuspendThreadByPeer()993 ThreadSuspendSleep(sleep_us); in SuspendThreadByPeer()996 sleep_us = std::min(sleep_us * 2, kThreadSuspendMaxSleepUs); in SuspendThreadByPeer()1010 useconds_t sleep_us = kThreadSuspendInitialSleepUs; in SuspendThreadByThreadId() local1089 } else if (sleep_us == 0 && in SuspendThreadByThreadId()1093 sleep_us = kThreadSuspendMaxYieldUs / 2; in SuspendThreadByThreadId()1099 ThreadSuspendSleep(sleep_us); in SuspendThreadByThreadId()1100 sleep_us = std::min(sleep_us * 2, kThreadSuspendMaxSleepUs); in SuspendThreadByThreadId()