Lines Matching full:wait
16 #define DEF_GC_THREAD_NOGC_SLEEP_TIME 300000 /* wait 5 min */
63 * will wait on this wait queue.
143 unsigned int *wait) in increase_sleep_time() argument
148 if (*wait == gc_th->no_gc_sleep_time) in increase_sleep_time()
151 if ((long long)*wait + (long long)min_time > (long long)max_time) in increase_sleep_time()
152 *wait = max_time; in increase_sleep_time()
154 *wait += min_time; in increase_sleep_time()
158 unsigned int *wait) in decrease_sleep_time() argument
162 if (*wait == gc_th->no_gc_sleep_time) in decrease_sleep_time()
163 *wait = gc_th->max_sleep_time; in decrease_sleep_time()
165 if ((long long)*wait - (long long)min_time < (long long)min_time) in decrease_sleep_time()
166 *wait = min_time; in decrease_sleep_time()
168 *wait -= min_time; in decrease_sleep_time()