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

Only if you use seconds, unlike the JVM which uses milliseconds.


This bites you in the ass in embedded devices, which then have strange behaviours every 49 days.


Experienced this first hand on an embedded device with an RTOS with a 5ms tick. The thing was locking up every 124 days (2^31 ticks). That’s long enough where it had to happen 2-3 times before someone put 2 and 2 together.




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

Search: