Re: [patch] libstdc++/64847 add autoconf checks for pthread_rwlock_t

2015-03-18 Thread Jonathan Wakely
On 13/03/15 13:46 +, Jonathan Wakely wrote: On 12/03/15 18:49 +, Jonathan Wakely wrote: I assumed that Pthreads was enough to ensure pthread_rwlock_t but https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64847 shows that isn't true for HPUX (seems it was optional prior to POSIX 1003.1-2001).

Re: [patch] libstdc++/64847 add autoconf checks for pthread_rwlock_t

2015-03-13 Thread Jonathan Wakely
On 12/03/15 18:49 +, Jonathan Wakely wrote: I assumed that Pthreads was enough to ensure pthread_rwlock_t but https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64847 shows that isn't true for HPUX (seems it was optional prior to POSIX 1003.1-2001). This adds an autoconf check to decide whether to

[patch] libstdc++/64847 add autoconf checks for pthread_rwlock_t

2015-03-12 Thread Jonathan Wakely
I assumed that Pthreads was enough to ensure pthread_rwlock_t but https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64847 shows that isn't true for HPUX (seems it was optional prior to POSIX 1003.1-2001). This adds an autoconf check to decide whether to use pthread_rwlock_t or the fallback implementat