Lines Matching refs:WAITS_PER_SEC
81 #define WAITS_PER_SEC 10 /* should divide USEC_PER_SEC evenly */ macro
549 for (i = 0; i < wait_seconds * WAITS_PER_SEC; i++) in wait_for_postmaster()
626 if (i % WAITS_PER_SEC == 0) in wait_for_postmaster()
647 pg_usleep(USEC_PER_SEC / WAITS_PER_SEC); in wait_for_postmaster()
921 for (cnt = 0; cnt < wait_seconds * WAITS_PER_SEC; cnt++) in do_stop()
925 if (cnt % WAITS_PER_SEC == 0) in do_stop()
927 pg_usleep(USEC_PER_SEC / WAITS_PER_SEC); in do_stop()
1012 for (cnt = 0; cnt < wait_seconds * WAITS_PER_SEC; cnt++) in do_restart()
1016 if (cnt % WAITS_PER_SEC == 0) in do_restart()
1018 pg_usleep(USEC_PER_SEC / WAITS_PER_SEC); in do_restart()
1153 for (cnt = 0; cnt < wait_seconds * WAITS_PER_SEC; cnt++) in do_promote()
1159 if (cnt % WAITS_PER_SEC == 0) in do_promote()
1161 pg_usleep(USEC_PER_SEC / WAITS_PER_SEC); in do_promote()