comment that -1 means infinite timeout

This commit is contained in:
Alexandre Ratchov 2015-08-27 09:40:50 +02:00
parent 9c5df51422
commit 0ab68bae61
1 changed files with 2 additions and 1 deletions

View File

@ -383,7 +383,8 @@ file_poll(void)
/*
* Sleep. Calculate the number off milliseconds poll(2) must
* 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
clock_gettime(CLOCK_MONOTONIC, &sleepts);