DragonFly commits List (threaded) for 2005-08
Re: cvs commit: src/lib/libc/sys select.2
:What should we write? It's just to note that select() does in fact
:block for the time specified, like sleep, usleep and nanosleep do (=
I would just describe the operation. Something like:
When select is run without any descriptor sets, or with empty
descriptor sets, and the timeout is not NULL, it will still put
the process into an interruptable sleep for the specified timeout.
In BSD systems, select's timeout is typically rounded up to the
nearest tick (1/100 second typically).
Select's timeout operates in a manner similar to nanosleep,
but uses a timeval rather then a timespec structure. It should also
be noted that in DragonFly the nanosleep() call produces a far more
accurate sleep interval.