On Freitag, 13. Dezember 2019 16:10:21 CET Daniel Richard G. wrote:
> Hi Bruno,
> 
> On Fri, 2019 Dec 13 07:43-05:00, Bruno Haible wrote:
> >
> > > I don't see "PTHREAD_RWLOCK_INITIALIZER_NP" anywhere in a clean Gnulib
> > > tree, so I'm not sure how this could already be addressed...
> > 
> > The gnulib module 'pthread-rwlock' fixes this issue in a 
> > platform-independent
> > way (by overriding pthread_rwlock_t). That's the reason why you don't see
> > PTHREAD_RWLOCK_INITIALIZER_NP in the gnulib source code.
> 
> Something must be missing, because if I remove my conditional definition
> of PTHREAD_RWLOCK_INITIALIZER from pthread.in.h, test-pthread-rwlock is
> no longer in the set of tests built by default.

I don't understand how that can be, because none of the Autoconf tests
references PTHREAD_RWLOCK_INITIALIZER.

Can you please do a fresh start on this?
  - Create a testdir for module 'pthread-rwlock'.
  - Build it with -D_UNIX95_THREADS -D_XOPEN_SOURCE=600.

Bruno


Reply via email to