Lines Matching refs:delay
51 * delay: < 0 for infinite delay (blocking read)
52 * = 0 for no delay read
60 ttimeout(int delay)
65 if (delay < 0)
66 delay = -1;
68 if (cur_term->_delay == delay)
72 if (delay > 0) {
74 _setblock(-delay);
75 _settimeout(delay);
77 if ((delay + cur_term->_delay) == -1)
78 _setblock(delay);
80 if (delay < 0)
81 _setblock(delay);
82 _settimeout(delay);
88 cur_term->_delay = delay;