AuroraRuntime/Source/Threading/Threads/Threads.cpp

23 lines
501 B
C++
Raw Normal View History

2021-06-27 21:25:29 +00:00
/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: Threads.cpp
Date: 2021-6-21
Author: Reece
***/
#include <RuntimeInternal.hpp>
#include "Threads.hpp"
#include "OSThread.hpp"
namespace Aurora::Threading::Threads
{
AUKN_SYM IAuroraThread *ThreadNew(const AbstractThreadVectors &vectors)
{
return _new OSThread(vectors);
}
AUKN_SYM void ThreadRelease(IAuroraThread *thread)
{
SafeDelete<OSThread *>(thread);
}
}