AuroraRuntime/Source/IO/AuIOSleep.cpp

23 lines
481 B
C++
Raw Normal View History

/***
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: AuIOSleep.cpp
Date: 2022-8-5
Author: Reece
***/
#include <Source/RuntimeInternal.hpp>
#include "IO.hpp"
#include "AuIOSleep.hpp"
namespace Aurora::IO
{
AUKN_SYM bool IOSleep(AuUInt32 dwMilliseconds)
{
return WaitFor(dwMilliseconds, true);
}
AUKN_SYM bool IOYieldFor(AuUInt32 dwMilliseconds)
{
return WaitFor(dwMilliseconds, false);
}
}