[PATCH v2 05/15] ARC: Atomics and Locking primitives

Joseph Myers joseph@codesourcery.com
Wed Jan 30 21:04:00 GMT 2019


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



More information about the Libc-alpha mailing list