diff options
| author | Jason Rumney | 2004-05-17 21:05:58 +0000 |
|---|---|---|
| committer | Jason Rumney | 2004-05-17 21:05:58 +0000 |
| commit | 78806724fe1548a506e66834cbe952ffc8b8a776 (patch) | |
| tree | dbdc89635b79d769033f3062561738e04acd21fd /src | |
| parent | 5322f50b91296b8644304a98b2f2810c505384b7 (diff) | |
| download | emacs-78806724fe1548a506e66834cbe952ffc8b8a776.tar.gz emacs-78806724fe1548a506e66834cbe952ffc8b8a776.zip | |
(_sys_read_ahead): Use w32_pipe_read_delay.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -3486,7 +3486,7 @@ sys_pipe (int * phandles) | |||
| 3486 | } | 3486 | } |
| 3487 | 3487 | ||
| 3488 | /* From ntproc.c */ | 3488 | /* From ntproc.c */ |
| 3489 | extern Lisp_Object Vw32_pipe_read_delay; | 3489 | extern 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); |