mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
a2c5887e51
commit
1c0102ff9b
@ -75,7 +75,7 @@ public:
|
||||
#ifdef _DEBUG
|
||||
if (m_Locked) {
|
||||
# ifdef _WIN32
|
||||
InterlockedExchange(&m_Object->m_Locked, 0);
|
||||
InterlockedExchange(&m_Object->m_LockOwner, 0);
|
||||
# else /* _WIN32 */
|
||||
__sync_lock_test_and_set(&m_Object->m_LockOwner, 0);
|
||||
# endif /* _WIN32 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user