This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: __ASSUME_PRIVATE_FUTEX and __ASSUME_FUTEX_CLOCK_REALTIME
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Fri, 20 Jun 2014 16:15:16 -0700 (PDT)
- Subject: Re: __ASSUME_PRIVATE_FUTEX and __ASSUME_FUTEX_CLOCK_REALTIME
- Authentication-results: sourceware.org; auth=none
- References: <Pine dot LNX dot 4 dot 64 dot 1406202013520 dot 1155 at digraph dot polyomino dot org dot uk>
> __ASSUME_PRIVATE_FUTEX and __ASSUME_FUTEX_CLOCK_REALTIME are defined for
> all supported Linux kernel versions. Should we say they are a required
> part of the futex interface for any system, whether or not using the Linux
> kernel, that may wish to use NPTL, and so remove these macros and all
> conditionals testing them everywhere in glibc, not just in
> sysdeps/unix/sysv/linux/ files?
Please, no. Other systems that provide a futex layer may well provide a
much less fully featureful one than Linux has.