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