19 lines
508 B
C++
19 lines
508 B
C++
/***
|
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: AuSpawnThread.hpp
|
|
Date:
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
namespace Aurora::Threading::Threads
|
|
{
|
|
AuPair<bool, AuUInt> /*success, oshandle*/ SpawnThread(const AuFunction<void()> &entrypoint, const AuString &debugString, AuUInt32 staskSize = 0);
|
|
}
|
|
|
|
#if defined(AURORA_IS_MODERNNT_DERIVED)
|
|
#include "AuSpawnThread.NT.hpp"
|
|
#elif defined(AURORA_IS_UNIX_DERIVED)
|
|
#include "AuSpawnThread.Unix.hpp"
|
|
#endif |