clock vs clock_t
Posted: Apr 18, 2006 @ 9:36am
Hallo,
I have some „instability“ problems with my port of Blender. It seems that if I use the application clicking to fast on menus (like on a PC), it crashes… As if the PocketPC was missing some important messages of the event loop.
I changed in Blender code the timer. Instead of using ::clock() (Not supported for WinCE) to get milliseconds, I am using ::clock_t().
Do you know if that could be the cause of such random crashes? Maybe you know the best approach to set up precise timer?
Thanks for your help,
Salvatore
I have some „instability“ problems with my port of Blender. It seems that if I use the application clicking to fast on menus (like on a PC), it crashes… As if the PocketPC was missing some important messages of the event loop.
I changed in Blender code the timer. Instead of using ::clock() (Not supported for WinCE) to get milliseconds, I am using ::clock_t().
Do you know if that could be the cause of such random crashes? Maybe you know the best approach to set up precise timer?
Thanks for your help,
Salvatore