23 lines
501 B
C++
23 lines
501 B
C++
|
/***
|
||
|
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);
|
||
|
}
|
||
|
}
|