Searched refs:have_timeout (Results 1 – 2 of 2) sorted by relevance
1891 bool have_timeout; in prepare_callback() local1907 have_timeout = r > 0; in prepare_callback()1909 if (have_timeout) { in prepare_callback()1915 … r = sd_event_source_set_enabled(v->time_event_source, have_timeout ? SD_EVENT_ON : SD_EVENT_OFF); in prepare_callback()
248 bool have_timeout = job_get_timeout(j, &x) > 0; in manager_print_jobs_in_progress() local258 …const char *limit = have_timeout ? FORMAT_TIMESPAN(x - j->begin_usec, 1*USEC_PER_SEC) : "no limit"; in manager_print_jobs_in_progress()