On Wed, Nov 03, 2021 at 05:27:42PM +0100, Florian Weimer wrote: > + /* S3. See __condvar_load_64_relaxed. */
Shouldn't that be See __atomic_wide_counter_load_relaxed ? > + if (((l >> 31) > 0) && ((h >> 31) > 0)) Any reason not to write it as (int) l < 0 && (int) h < 0? Yes, the compiler will likely optimize it that way (probably even as (int) (l & h) < 0, but still... Jakub