cvs commit: src/lib/libc/sys select.2
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Wed Aug 3 08:34:58 PDT 2005
On 03.08.2005, at 17:13, Matthew Dillon wrote:
Even nanosleep and usleep are wrong, since nanosleep uses a struct
timespec
and select uses a struct timeval.
Select's timeout is rounded up to the nearest clock tick, while
(our)
nanosleep's timeout tries to be a lot more precise.
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 (=
interruptible sleep).
cheers
simon
--
Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\
Work - Mac +++ space for low $$$ NOW!1 +++ Campaign \ /
Party Enjoy Relax | http://dragonflybsd.org Against HTML \
Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
Attachment:
PGP.sig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00001.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/commits/attachments/20050803/9b046c64/attachment-0022.obj>
More information about the Commits
mailing list