Searched refs:sleepNs (Results 1 – 2 of 2) sorted by relevance
41 sleepNs(-1), in FastThread()87 if (sleepNs >= 0) { in threadLoop()88 if (sleepNs > 0) { in threadLoop()89 ALOG_ASSERT(sleepNs < 1000000000); in threadLoop()90 const struct timespec req = {0, sleepNs}; in threadLoop()97 sleepNs = FAST_DEFAULT_NS; in threadLoop()149 sleepNs = FAST_HOT_IDLE_NS; in threadLoop()171 sleepNs = -1; in threadLoop()180 sleepNs = FAST_HOT_IDLE_NS; in threadLoop()242 sleepNs = -1; in threadLoop()[all …]
56 long sleepNs; // -1: busy wait, 0: sched_yield, > 0: nanosleep variable