QPID broker asserts in qpid::sys::RWlock::RWlock()
--------------------------------------------------

                 Key: QPID-1108
                 URL: https://issues.apache.org/jira/browse/QPID-1108
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
    Affects Versions: M3
         Environment: Solaris 10 OS on UltraSparc hw
            Reporter: Manuel Teira


Creation of a RWlock asserts in the call:

QPID_POSIX_ASSERT_THROW_IF(pthread_rwlock_init(&rwlock, recursiveRWlockattr));

As discussed in the dev maillist, the problem is reusing the pthread_once_t 
variable to initialize both the RWlock and Mutex initialization attrs. 
Furthermore, this machinery is not even needed for RWlock, as default 
attributes would suffice.

 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to