Hi, On 01/16/2015 02:18 PM, Jonathan Wakely wrote:
+#if defined(__GTHREADS_CXX0X)N.B. I advised Torvald that this macro was OK to check that we have pthread_rwlock_t available. It's not strictly correct, but currently only gthr-posix.h defines __GTHREADS_CXX0X so it works in practice. We should come up with something better at a later date though, or if any other gthreads model ever supports C++11 threads.
Maybe add a comment summarizing the above? Thanks, Paolo.