[RFC][BZ #16549] Add sanity check for condvar alignment.

Andreas Schwab schwab@suse.de
Tue Feb 11 13:00:00 GMT 2014


Ondřej Bílka <neleai@seznam.cz> writes:

> +  assert (((uintptr_t) cond) % sizeof (long) == 0);

Does it really require long alignment?  The futex syscall only requires
32 bit alignment.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list