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

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

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