|
From: | Joshua Haberman |
Subject: | why doesn't "tail -f" use select or poll? |
Date: | Sun, 26 Mar 2006 09:34:18 -0800 |
For the case where you are following a filename instead of an fd I realize this isn't possible. But for the more common case, where you *are* following a fd, select would make it so you immediately see any output, instead of having to wait for the next sleep interval. It would make the program a little nicer to use.
Maybe some systems don't have select or poll, but for the ones that do, it seems like a clear win.
What do you think? Josh
[Prev in Thread] | Current Thread | [Next in Thread] |