in reply to Simple question about sleep function

Yes. sleep does whole (integer) seconds, whilst select takes a floating point value; and select is interruptible by signals, whilst sleep (at least on Win32) isn't.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.
Computers are making people easier to use everyday
  • Comment on Re: Simple question about sleep function