AuroraRuntime/Source/Threading/Threads/AuThreadHandles.hpp

18 lines
433 B
C++

/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: AuThreadHandles.hpp
Date: 2021-6-19
Author: Reece
***/
#pragma once
namespace Aurora::Threading::Threads
{
IAuroraThread *GetThreadByPOSIXPid(AuUInt validPid);
IAuroraThread *GetThreadByOSHandle(AuUInt validPid);
void HandleRegister(IAuroraThread *thread);
void HandleRemove();
IAuroraThread *HandleCurrent();
}