BSD sleep

Quark unixuser2000-fbsd at yahoo.com
Wed May 29 04:27:02 UTC 2013



>You think it's trivial until you read this:
>
>http://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time
>
>If you sleep one hour, do you sleep one hour from now or one hour from 
>the system clock which may change in the next hour?  If it's the system 
>clock, you may sleep for ten minutes or ten hours.  If you need to sleep 
>for 3600 seconds, that's simple and understandable.


what is stopping from interpreting 1h in similar manner to 3600? i.e. from now



More information about the freebsd-questions mailing list