This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2 05/15] ARC: Atomics and Locking primitives
On Wed, 30 Jan 2019, Andreas Schwab wrote:
> On Jan 29 2019, Vineet Gupta <vineet.gupta1@synopsys.com> wrote:
>
> > +#define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 1
> > +#define __PTHREAD_MUTEX_USE_UNION 1
>
> New ports should use the preferred values for these macros.
This seems like something that could be a common issue for new ports, so
worth a mention at <https://sourceware.org/glibc/wiki/NewPorts> alongside
such things as using init_array and USE_ATOMIC_COMPILER_BUILTINS.
--
Joseph S. Myers
joseph@codesourcery.com