24 lines
468 B
C++
24 lines
468 B
C++
/***
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: LSMutex.NT.hpp
|
|
Date: 2021-10-1
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
#include "LSHandle.hpp"
|
|
|
|
namespace Aurora::Loop
|
|
{
|
|
class Mutex : public ILSMutex, public LSHandle
|
|
{
|
|
public:
|
|
Mutex(HANDLE handle);
|
|
~Mutex();
|
|
|
|
bool Unlock() override;
|
|
|
|
bool ILSMutex::IsSignaled() override;
|
|
ELoopSource ILSMutex::GetType() override;
|
|
};
|
|
} |