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

I recently had to implement a version of GetTickCount64 for older platforms that only support GetTickCount(32). It works great as long as you remember to call it at least every 49.7 days. :-)

(Luckily the process already had a thread which wakes up to perform such maintenance every hour or so.)



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

Search: