J Reece Wilson
6de5cbfb95
[*] NT: Added TTY handle static getter optimization alongside a secret setter API [*] Made ILoopSource virtual [+] Linux: Added console TTY stubs [*] Renamed ConsoleTTY.Linux.cpp -> ConsoleTTY.Unix.cpp [-] Redundant commented out shm_unlink (zero ref condition should unlink, i believe.) [+] Added IProcess async pipe transaction getter stubs [+] Added additional userland env lookup variables: XDG_SESSION_DESKTOP, DESKTOP_SESSION [+] Unix: AuTime::ns2ts
24 lines
551 B
C++
24 lines
551 B
C++
/***
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: LSSemaphore.NT.hpp
|
|
Date: 2021-10-1
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
#include "LSHandle.hpp"
|
|
|
|
namespace Aurora::Loop
|
|
{
|
|
struct LSSemaphore : ILSSemaphore, virtual LSHandle
|
|
{
|
|
LSSemaphore(HANDLE handle);
|
|
~LSSemaphore();
|
|
|
|
bool AddOne() override;
|
|
|
|
bool ILSSemaphore::IsSignaled() override;
|
|
bool ILSSemaphore::WaitOn(AuUInt32 timeout) override;
|
|
ELoopSource ILSSemaphore::GetType() override;
|
|
};
|
|
} |