obs-studio/build_dependencies/aja/include/ajalibraries/ajabase/system/windows/lockimpl.h

30 lines
572 B
C
Raw Normal View History

2023-03-04 18:33:16 +01:00
/* SPDX-License-Identifier: MIT */
/**
@file windows/lockimpl.h
@brief Declares the AJALockImpl class.
@copyright (C) 2009-2021 AJA Video Systems, Inc. All rights reserved.
**/
#ifndef AJA_LOCK_IMPL_H
#define AJA_LOCK_IMPL_H
#include "ajabase/system/system.h"
#include "ajabase/common/common.h"
#include "ajabase/system/lock.h"
class AJALockImpl
{
public:
AJALockImpl(const char* pName);
virtual ~AJALockImpl();
AJAStatus Lock(uint32_t uTimeout = 0xffffffff);
AJAStatus Unlock();
HANDLE mMutex;
};
#endif // AJA_LOCK_IMPL_H