Lines Matching refs:wait
16 #define DEF_GC_THREAD_NOGC_SLEEP_TIME 300000 /* wait 5 min */
51 * will wait on this wait queue.
126 unsigned int *wait)
131 if (*wait == gc_th->no_gc_sleep_time)
134 if ((long long)*wait + (long long)min_time > (long long)max_time)
135 *wait = max_time;
137 *wait += min_time;
141 unsigned int *wait)
145 if (*wait == gc_th->no_gc_sleep_time)
146 *wait = gc_th->max_sleep_time;
148 if ((long long)*wait - (long long)min_time < (long long)min_time)
149 *wait = min_time;
151 *wait -= min_time;