AuroraRuntime/Source/IO/IOSleep.cpp
2022-08-05 11:28:34 +01:00

23 lines
469 B
C++
Executable File

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