AuroraRuntime/Source/Loop/LSEvent.hpp

18 lines
372 B
C++

/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: LSEvent.hpp
Date: 2021-10-1
Author: Reece
***/
#pragma once
#include "WaitSingle.hpp"
#if defined(AURORA_IS_MODERNNT_DERIVED)
#include "LSEvent.NT.hpp"
// eventfd always atomically resets
#else
#define IMPL_LS_EVENT_GEN
#include "LSEvent.Generic.hpp"
#endif