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
Description: This is a digitally signed message part

Reply via email to