Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hilarious, though not strictly correct. There is no guarantee 'sleep n' sleeps for n seconds, or that 'sleep n' wakes up before 'sleep n+1'. Granted, in reality if scheduling is so far off that things like this on the order of seconds become a problem, you've probably got bigger problems...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: