AuroraRuntime/Include/Aurora/Threading/Primitives/RWLock.hpp

20 lines
372 B
C++
Raw Normal View History

2021-06-27 21:25:29 +00:00
/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: RWLock.hpp
Date: 2021-6-9
Author: Reece
***/
#pragma once
namespace Aurora::Threading::Primitives
{
class RWLock
{
public:
virtual IWaitable *AsReadable() = 0;
virtual IWaitable *AsWritable() = 0;
};
AUKN_SHARED_API(RWLock, RWLock);
}