HomeFreeBSD

Use atomic_load(9) to read ppsinfo sequence numbers.

Description

Use atomic_load(9) to read ppsinfo sequence numbers.

In this case volatile qualifiers enusre that a compiler does not
optimize the accesses out.

Reviewed by: alc, jhb
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D13534

Details

Provenance
kibAuthored on
Reviewer
alc
Differential Revision
D13534: Introduce atomic_load() and atomic_store().
Parents
rS326972: Double disk size and make test less verbose.
Branches
Unknown
Tags
Unknown