This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Remove __PTHREAD_MUTEX_HAVE_ELISION undefined warning
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>, "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Wed, 26 Mar 2014 09:30:45 -0700 (PDT)
- Subject: Re: [PATCH] Remove __PTHREAD_MUTEX_HAVE_ELISION undefined warning
- Authentication-results: sourceware.org; auth=none
- References: <5332D913 dot 5050903 at linux dot vnet dot ibm dot com> <Pine dot LNX dot 4 dot 64 dot 1403261407170 dot 25463 at digraph dot polyomino dot org dot uk>
> On Wed, 26 Mar 2014, Adhemerval Zanella wrote:
>
> > +#define __PTHREAD_MUTEX_HAVE_ELISION 0
>
> I think the default file should have a comment explaining what the
> semantics of the possible values for this macro (0, 1 and 2) are.
Absolutely. This is a general rule for any sysdeps/generic or similar file
that sets the terms of what identifiers sysdeps variants are required to
define and what their definitions mean.