3#include <Foundation/Basics.h>
4#include <Foundation/Strings/String.h>
5#include <Foundation/Threading/AtomicInteger.h>
6#include <Foundation/Threading/Implementation/ThreadingDeclarations.h>
19 plOSThread(plOSThreadEntryPoint threadEntryPoint,
void* pUserData =
nullptr,
plStringView sName =
"plOSThread", plUInt32 uiStackSize = 128 * 1024);
38 plThreadHandle m_hHandle;
39 plThreadID m_ThreadID;
41 plOSThreadEntryPoint m_EntryPoint;
47 plUInt32 m_uiStackSize;
Implementation of a thread.
Definition OSThread.h:13
const plThreadID & GetThreadID() const
Returns the thread ID of the thread object, may be used in comparison operations with plThreadUtils::...
Definition OSThread.h:32
static plInt32 GetThreadCount()
Returns how many plOSThreads are currently active.
Definition OSThread.h:35
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34