#define UExport
Definition Exports.h:25
User-defined factory for creating new threads.
Definition Thread.h:74
virtual bool CreateThread(const char *name, ThreadType type, ThreadEntryPoint entry_point, void *entry_point_data, CreateThreadResult &result)=0
Create a new thread.
virtual ~ThreadFactory()=default
uint32_t ThreadId
Unique id of the thread, used for referencing the created thread later.
Definition Thread.h:19
uint64_t ThreadHandle
Platform-specific handle.
Definition Thread.h:26
ThreadType
The type of thread, you can choose to optionally handle these for better performance.
Definition Thread.h:37
void(* ThreadEntryPoint)(void *)
Entry point for the thread, this function should be called by the thread once it is active and should...
Definition Thread.h:32
Result of creating a new thread.
Definition Thread.h:52
ThreadId id
The unique id of the thread.
Definition Thread.h:53
ThreadHandle handle
The platform-specific handle of the thread.
Definition Thread.h:54