Searched refs:towait (Results 1 – 5 of 5) sorted by relevance
35 int channel_poll_setup(int nfd_in, void *fds_in, int *towait);
6208 int towait = (int)msec; in RealWaitForChar() local6214 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() local6320 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()
4378 channel_poll_setup(int nfd_in, void *fds_in, int *towait) in channel_poll_setup() argument4398 if (*towait < 0 || *towait > KEEP_OPEN_TIME) in channel_poll_setup()4399 *towait = KEEP_OPEN_TIME; in channel_poll_setup()
992 long towait = (p_ttm >= 0 ? p_ttm : p_tm); in normal_cmd() local996 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()
6798 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()