AuroraRuntime/Source/Loop/LSMutex.Linux.hpp
J Reece Wilson 48b6994f61 [+] LSFromFdNonblocking
[*] Other Linux progression
2022-04-05 03:36:39 +01:00

28 lines
550 B
C++

/***
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: LSMutex.Linux.hpp
Date: 2022-4-4
Author: Reece
***/
#pragma once
#include "LSHandle.hpp"
namespace Aurora::Loop
{
struct LSMutex : public ILSMutex, public LSHandle
{
LSMutex();
bool Unlock() override;
virtual bool OnTrigger(AuUInt handle) override;
bool IsSignaled() override;
virtual ELoopSource GetType() override;
private:
void Init();
bool IsSignaledNonblocking();
};
}