I use Python and pygame for a control and automation task. Information from a sensor is displayed using pygame then is recorded elsewhere.
To limit the framerate I am using the pygame clock tick.
As this is an embedded application the process could be running for months at a time. Will the pygame clock ever stop working i.e. if it stores the ms as an integer (long integer whatever) when will it run out of time and can it cope with going back round to 0 (or worse minus something)?
If it does run out how long will it work for? I seem to remember the first version of Win95 crashed after 4 days for this reason!
I'm usisg Python2.7 on a Raspberry Pi ver 3 if this is relevent.