aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2004-05-17 21:05:58 +0000
committerJason Rumney2004-05-17 21:05:58 +0000
commit78806724fe1548a506e66834cbe952ffc8b8a776 (patch)
treedbdc89635b79d769033f3062561738e04acd21fd /src
parent5322f50b91296b8644304a98b2f2810c505384b7 (diff)
downloademacs-78806724fe1548a506e66834cbe952ffc8b8a776.tar.gz
emacs-78806724fe1548a506e66834cbe952ffc8b8a776.zip
(_sys_read_ahead): Use w32_pipe_read_delay.
Diffstat (limited to 'src')
-rw-r--r--src/w32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32.c b/src/w32.c
index 98d630529e6..c4da090ead9 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -3486,7 +3486,7 @@ sys_pipe (int * phandles)
3486} 3486}
3487 3487
3488/* From ntproc.c */ 3488/* From ntproc.c */
3489extern Lisp_Object Vw32_pipe_read_delay; 3489extern int w32_pipe_read_delay;
3490 3490
3491/* Function to do blocking read of one byte, needed to implement 3491/* Function to do blocking read of one byte, needed to implement
3492 select. It is only allowed on sockets and pipes. */ 3492 select. It is only allowed on sockets and pipes. */
@@ -3526,7 +3526,7 @@ _sys_read_ahead (int fd)
3526 shell on NT is very slow if we don't do this. */ 3526 shell on NT is very slow if we don't do this. */
3527 if (rc > 0) 3527 if (rc > 0)
3528 { 3528 {
3529 int wait = XINT (Vw32_pipe_read_delay); 3529 int wait = w32_pipe_read_delay;
3530 3530
3531 if (wait > 0) 3531 if (wait > 0)
3532 Sleep (wait); 3532 Sleep (wait);