bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IBM z/OS compatibility issues - pthread


From: Bruno Haible
Subject: Re: IBM z/OS compatibility issues - pthread
Date: Sat, 14 Dec 2019 14:42:29 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-166-generic; KDE/5.18.0; x86_64; ; )

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

[Prev in Thread] Current Thread [Next in Thread]