Files
ss/include/nw4r/snd/snd_TaskThread.h
T
Elijah Thomas 26af4db82d update from dtk-template - clangd :) (#66)
* update from dtk-template and start work towards using clangd

* include <a> -> "a"

* Update build.yml

* remove/add non-trivial class in union warning
2024-10-16 15:36:02 -04:00

35 lines
615 B
C++

#ifndef NW4R_SND_TASK_THREAD_H
#define NW4R_SND_TASK_THREAD_H
#include "rvl/OS.h" // IWYU pragma: export
namespace nw4r {
namespace snd {
namespace detail {
class TaskThread {
public:
TaskThread();
~TaskThread();
bool Create(s32 priority, void *pStack, u32 stackSize);
void Destroy();
private:
static void *ThreadFunc(void *pArg);
void ThreadProc();
private:
OSThread mThread; // at 0x0
u32 *mStackEnd; // at 0x318
volatile bool mFinishFlag; // at 0x31C
bool mCreateFlag; // at 0x31D
};
} // namespace detail
} // namespace snd
} // namespace nw4r
#endif