Home
last modified time | relevance | path

Searched refs:towait (Results 1 – 5 of 5) sorted by relevance

/vim-8.2.3635/src/proto/
H A Dchannel.pro35 int channel_poll_setup(int nfd_in, void *fds_in, int *towait);
/vim-8.2.3635/src/
H A Dos_unix.c6208 int towait = (int)msec; in RealWaitForChar() local
6214 towait = (int)p_mzq; // don't wait longer than 'mzquantum' in RealWaitForChar()
6251 nfd = channel_poll_setup(nfd, &fds, &towait); in RealWaitForChar()
6256 ret = poll(fds, nfd, towait); in RealWaitForChar()
6314 long towait = msec; in RealWaitForChar() local
6320 towait = p_mzq; // don't wait longer than 'mzquantum' in RealWaitForChar()
6325 if (towait >= 0) in RealWaitForChar()
6327 tv.tv_sec = towait / 1000; in RealWaitForChar()
6328 tv.tv_usec = (towait % 1000) * (1000000/1000); in RealWaitForChar()
H A Dchannel.c4378 channel_poll_setup(int nfd_in, void *fds_in, int *towait) in channel_poll_setup() argument
4398 if (*towait < 0 || *towait > KEEP_OPEN_TIME) in channel_poll_setup()
4399 *towait = KEEP_OPEN_TIME; in channel_poll_setup()
H A Dnormal.c992 long towait = (p_ttm >= 0 ? p_ttm : p_tm); in normal_cmd() local
996 while ((c = vpeekc()) <= 0 && towait > 0L) in normal_cmd()
998 do_sleep(towait > 50L ? 50L : towait, FALSE); in normal_cmd()
999 towait -= 50L; in normal_cmd()
H A Dos_win32.c6798 int towait = p_mzq; in mch_delay()
6804 if (msec < towait) in mch_delay()
6805 towait = msec; in mch_delay()
6806 Sleep(towait); in mch_delay()
6807 msec -= towait; in mch_delay()