Skip to content
Commit 8bd336a0 authored by Florian Weimer's avatar Florian Weimer
Browse files

nptl: Extract <bits/atomic_wide_counter.h> from pthread_cond_common.c



And make it an installed header.  This addresses a few aliasing
violations (which do not seem to result in miscompilation due to
the use of atomics), and also enables use of wide counters in other
parts of the library.

The debug output in nptl/tst-cond22 has been adjusted to print
the 32-bit values instead because it avoids a big-endian/little-endian
difference.

Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent a43c0b54
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment