On 4/11/25 22:42, James Mulder wrote:

<snip!> But thanks for all that.

   This bigger concern for programs that use STCK or STCKF is the TOD clock 
wrap in September 2042.  Any code that uses a logical compare (like CLC) for 
two timestamps will get the wrong result when one timestamp is before the wrap
and the other is after.   So there is a lot of code in operating systems, 
middleware, and probably applications, that needs to be changed to use a 
different comparison technique before then.
     ...
Doesn't the Clock Comparator already employ windowing?  How long?
70 years?  That would already impact programmers who naively use
a hard-coded x'FFFFFFFF' to mean "never" or x')00000000' to mean
"immediately."

--
gil

Reply via email to