forked from OSchip/llvm-project
We aren't ready for the assertions to be enabled on the ReadWriteLock classes yet.
llvm-svn: 180928
This commit is contained in:
parent
4fea4f27e3
commit
05e2c79f87
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue