mirror of https://github.com/ericonr/sndio.git
comment that -1 means infinite timeout
This commit is contained in:
parent
9c5df51422
commit
0ab68bae61
|
@ -383,7 +383,8 @@ file_poll(void)
|
||||||
/*
|
/*
|
||||||
* Sleep. Calculate the number off milliseconds poll(2) must
|
* Sleep. Calculate the number off milliseconds poll(2) must
|
||||||
* wait before the timo_update() needs to be called. If there're
|
* wait before the timo_update() needs to be called. If there're
|
||||||
* no timeouts scheduled, then call poll(2) with -1 timeout.
|
* no timeouts scheduled, then call poll(2) with infinite
|
||||||
|
* timeout (i.e -1).
|
||||||
*/
|
*/
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
clock_gettime(CLOCK_MONOTONIC, &sleepts);
|
clock_gettime(CLOCK_MONOTONIC, &sleepts);
|
||||||
|
|
Loading…
Reference in New Issue