summaryrefslogtreecommitdiff
path: root/src/m/m_thread.cpp
blob: e9a1a1367144f899c7bfd5f6ef436916c0aa1647 (plain)
1
2
3
4
5
6
7
8
9
10
#include "m/m_thread.h"

#include "egg/core/eggThreadMgr.h"
#include "rvl/OS/OSThread.h"

void mThread::registerThread(OSThread *thread, void *threadArg) {
    if (threadArg && EGG::ThreadMgr::getInstance()) {
        EGG::ThreadMgr::getInstance()->registerThread(thread, *(EGG::UnknownStruct *)threadArg);
    }
}