[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: RE24 testing call #3 (2.4.43) LMDB RE0.9 testing call #3 (0.9.17)

On Tue, 10 Nov 2015, Cl?ment OUDOT wrote:

Could it be a problem on my build machine?

Not directly IMO. Some (older?) pthreads implementations are PTHREAD_MUTEX_ROBUST_NP, etc.

one thing to try would be:

#define pthread_mutexattr_setrobust pthread_mutexattr_setrobust_np
#define pthread_mutex_consistent pthread_mutex_consistent_np

which might also need:

                         || (rc = pthread_mutexattr_setrobust(&mattr, PTHREAD_MUTEX_ROBUST))
+                        || (rc = pthread_mutexattr_setprotocol(&mattr, PTHREAD_PRIO_INHERIT))
                         || (rc = pthread_mutex_init(env->me_txns->mti_rmutex, &mattr))

or you can just -DMDB_USE_ROBUST=0, but I don't think the platform is *that* hopeless...