We aren't ready for the assertions to be enabled on the ReadWriteLock classes yet.

llvm-svn: 180928
This commit is contained in:
Greg Clayton 2013-05-02 17:17:05 +00:00
parent 4fea4f27e3
commit 05e2c79f87
1 changed files with 6 additions and 6 deletions

View File

@ -40,17 +40,17 @@ public:
m_rwlock()
{
int err = ::pthread_rwlock_init(&m_rwlock, NULL); (void)err;
#if LLDB_CONFIGURATION_DEBUG
assert(err == 0);
#endif
//#if LLDB_CONFIGURATION_DEBUG
// assert(err == 0);
//#endif
}
~ReadWriteLock ()
{
int err = ::pthread_rwlock_destroy (&m_rwlock); (void)err;
#if LLDB_CONFIGURATION_DEBUG
assert(err == 0);
#endif
//#if LLDB_CONFIGURATION_DEBUG
// assert(err == 0);
//#endif
}
bool