1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Remove Thread.Interrupt

This commit is contained in:
Brian Fiete 2022-05-24 07:28:21 -07:00
parent 45edfc8604
commit b9ab8214d2
3 changed files with 9 additions and 22 deletions

View file

@ -29,21 +29,16 @@ bf::System::Threading::Thread* BfGetCurrentThread()
#endif
}
void Thread::SuspendInternal()
void Thread::Suspend()
{
BfpThread_Suspend(GetInternalThread()->mThreadHandle, NULL);
}
void Thread::ResumeInternal()
void Thread::Resume()
{
BfpThread_Resume(GetInternalThread()->mThreadHandle, NULL);
}
void Thread::InterruptInternal()
{
//TODO:
}
void Thread::SetJoinOnDelete(bool joinOnDelete)
{
auto internalThread = GetInternalThread();