aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorPaul Eggert2018-09-10 21:22:05 -0700
committerPaul Eggert2018-09-10 21:22:54 -0700
commitef93983344e748124ac9bc218700cee14a0df947 (patch)
tree0d76e8c9a0a381082608f445ddc69ec9f7a7e311 /src/process.c
parentfc389d3a836c11893ac5c5894915e9b8b4868799 (diff)
downloademacs-ef93983344e748124ac9bc218700cee14a0df947.tar.gz
emacs-ef93983344e748124ac9bc218700cee14a0df947.zip
Adjust to TIMESPEC_HZ renaming
Adjust to lib/timespec.h’s renaming of TIMESPEC_RESOLUTION and LOG10_TIMESPEC_RESOLUTION to TIMESPEC_HZ and LOG10_TIMESPEC_HZ. The old names were misnomers. All uses changed.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index 4d96e469767..b4ba641f31b 100644
--- a/src/process.c
+++ b/src/process.c
@@ -252,7 +252,7 @@ static EMACS_INT update_tick;
252# define HAVE_SEQPACKET 252# define HAVE_SEQPACKET
253#endif 253#endif
254 254
255#define READ_OUTPUT_DELAY_INCREMENT (TIMESPEC_RESOLUTION / 100) 255#define READ_OUTPUT_DELAY_INCREMENT (TIMESPEC_HZ / 100)
256#define READ_OUTPUT_DELAY_MAX (READ_OUTPUT_DELAY_INCREMENT * 5) 256#define READ_OUTPUT_DELAY_MAX (READ_OUTPUT_DELAY_INCREMENT * 5)
257#define READ_OUTPUT_DELAY_MAX_MAX (READ_OUTPUT_DELAY_INCREMENT * 7) 257#define READ_OUTPUT_DELAY_MAX_MAX (READ_OUTPUT_DELAY_INCREMENT * 7)
258 258
@@ -5478,7 +5478,7 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd,
5478 have waited a long amount of time due to repeated 5478 have waited a long amount of time due to repeated
5479 timers. */ 5479 timers. */
5480 struct timespec huge_timespec 5480 struct timespec huge_timespec
5481 = make_timespec (TYPE_MAXIMUM (time_t), 2 * TIMESPEC_RESOLUTION); 5481 = make_timespec (TYPE_MAXIMUM (time_t), 2 * TIMESPEC_HZ);
5482 struct timespec cmp_time = huge_timespec; 5482 struct timespec cmp_time = huge_timespec;
5483 if (wait < TIMEOUT 5483 if (wait < TIMEOUT
5484 || (wait_proc 5484 || (wait_proc