Plasma Engine  2.0
Loading...
Searching...
No Matches
Thread_Posix.h
1#include <Foundation/FoundationInternal.h>
2PL_FOUNDATION_INTERNAL_HEADER
3
4#include <Foundation/Threading/Thread.h>
5
6// Deactivate Doxygen document generation for the following block.
8
9// Thread entry point used to launch plRunnable instances
10void* plThreadClassEntryPoint(void* pThreadParameter)
11{
12 PL_ASSERT_RELEASE(pThreadParameter != nullptr, "thread parameter in thread entry point must not be nullptr!");
13
14 plThread* pThread = reinterpret_cast<plThread*>(pThreadParameter);
15
16 RunThread(pThread);
17
18 return nullptr;
19}
20
This class is the base class for platform independent long running threads.
Definition Thread.h:40