|
| LThread (TCallable &&Func, TArgs &&... Args) |
|
void | Setup (TCallable &&Func, TArgs &&... Args) |
| Setup thread. Used whenever the thread function hasn't been passed in the constructor.
|
|
FORCEINLINE void | Run () |
|
FORCEINLINE FThreadHandle | GetHandle () const |
| Get the thread handle.
|
|
FORCEINLINE bool | IsRunning () const |
| Check if the thread is running.
|
|
static void | Sleep (const std::chrono::duration< TRep, TPeriod > Duration) |
| Sleep for a duration, inhibiting thread execution. Uses std::chrono.
|
|
FThreadHandle | Handle |
|
std::thread | WorkerThread |
|
std::optional< std::function< void()> > | Task |
|
bool | bIsRunning |
|
The documentation for this class was generated from the following files:
- LkEngine/Source/LkEngine/Platform/Windows/WindowsThread.h
- LkEngine/Source/LkEngine/Platform/Windows/WindowsThread.cpp