On Thu, 13 May 2021 17:51:47 -0400, George Kozakos wrote:

>> How does STIMER behave when the interval spans a DST or leap second
>> boundary?  Is this documented?
>
>STIMER does not need to know the interval spans a DST or leap second
>boundary. When a DST or leap second change occurs an adjustment is
>made to existing TQEs.
>
OK.  For STIMER GMT, the adjustment is made at a leap second.
For STIMER LT, the adjustment must be made at either a leap second
or a  DST boundary.

For STIMER LT, code must exist to convert LT to TOD/Comparator.
Alas, there's no programming interface for this; CONVTOD doesn't do LT.

I'm trying to imagine what race conditions exist if STIMER LT is
issued very close to a DST/leap boundary and how they might
be resolved.  It seems to require a quasi-atomic access to TOD,
CVTLSO, and CVTLDTO.  The same might apply to the TIME macro.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to