3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/bx/MpScUnboundedBlockingQueue.h"
7#include "mc/external/bx/Semaphore.h"
15 ::ll::TypedStorage<1, 64, uchar[64]> m_internal;
16 ::ll::TypedStorage<8, 8, int (*)(::bx::Thread*,
void*)> m_fn;
17 ::ll::TypedStorage<8, 8, void*> m_userData;
18 ::ll::TypedStorage<8, 224, ::bx::MpScUnboundedBlockingQueue<void>> m_queue;
19 ::ll::TypedStorage<1, 128, ::bx::Semaphore> m_sem;
20 ::ll::TypedStorage<4, 4, uint> m_stackSize;
21 ::ll::TypedStorage<4, 4, int> m_exitCode;
22 ::ll::TypedStorage<1, 1, bool> m_running;
36 MCAPI
void init(
int (*_fn)(::bx::Thread*,
void*),
void* _userData, uint _stackSize,
char const* _name);
38 MCAPI
bool isRunning()
const;
40 MCAPI
void setThreadName(
char const* _name);
42 MCAPI
void shutdown();
static MCAPI void ** $vftable()