Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JKRThread Class Reference

#include <JKRThread.h>

+ Inheritance diagram for JKRThread:
+ Collaboration diagram for JKRThread:

Classes

class  TLoad
 

Public Member Functions

 JKRThread (u32 stack_size, int message_count, int param_3)
 
 JKRThread (JKRHeap *heap, u32 stack_size, int message_count, int param_4)
 
 JKRThread (OSThread *thread, int message_count)
 
virtual ~JKRThread ()
 
virtual voidrun ()
 
void setCommon_mesgQueue (JKRHeap *heap, int message_count)
 
void setCommon_heapSpecified (JKRHeap *heap, u32 stack_size, int param_3)
 
OSThreadgetThreadRecord () const
 
voidgetStack () const
 
TLoadgetLoadInfo ()
 
JKRHeapgetCurrentHeap () const
 
s32 getCurrentHeapError () const
 
void setCurrentHeap (JKRHeap *heap)
 

Static Public Member Functions

static voidstart (void *param_1)
 
static JKRThreadsearchThread (OSThread *thread)
 
static JSUList< JKRThread > & getList ()
 

Static Public Attributes

static JSUList< JKRThreadsThreadList
 

Protected Member Functions

void resume ()
 
BOOL sendMessage (OSMessage message)
 
void sendMessageBlock (OSMessage message)
 
OSMessage waitMessage ()
 
OSMessage waitMessage (BOOL *received)
 
OSMessage waitMessageBlock ()
 
void jamMessageBlock (OSMessage message)
 

Private Attributes

JSULink< JKRThreadmThreadListLink
 
JKRHeapmHeap
 
OSThreadmThreadRecord
 
OSMessageQueue mMessageQueue
 
OSMessagemMessages
 
s32 mMessageCount
 
voidmStackMemory
 
u32 mStackSize
 
TLoad mLoadInfo
 
JKRHeapmCurrentHeap
 
s32 mCurrentHeapError
 
- Private Attributes inherited from JKRDisposer
JKRHeapmHeap
 
JSULink< JKRDisposermLink
 

Additional Inherited Members

- Private Member Functions inherited from JKRDisposer
 JKRDisposer ()
 
virtual ~JKRDisposer ()
 

Constructor & Destructor Documentation

◆ JKRThread() [1/3]

JKRThread::JKRThread ( u32  stack_size,
int  message_count,
int  param_3 
)

◆ JKRThread() [2/3]

JKRThread::JKRThread ( JKRHeap heap,
u32  stack_size,
int  message_count,
int  param_4 
)

◆ JKRThread() [3/3]

JKRThread::JKRThread ( OSThread thread,
int  message_count 
)

◆ ~JKRThread()

JKRThread::~JKRThread ( )
virtual

Member Function Documentation

◆ getCurrentHeap()

JKRHeap * JKRThread::getCurrentHeap ( ) const
inline

◆ getCurrentHeapError()

s32 JKRThread::getCurrentHeapError ( ) const
inline

◆ getList()

static JSUList< JKRThread > & JKRThread::getList ( )
inlinestatic

◆ getLoadInfo()

TLoad * JKRThread::getLoadInfo ( )
inline

◆ getStack()

void * JKRThread::getStack ( ) const
inline

◆ getThreadRecord()

OSThread * JKRThread::getThreadRecord ( ) const
inline

◆ jamMessageBlock()

void JKRThread::jamMessageBlock ( OSMessage  message)
inlineprotected

◆ resume()

void JKRThread::resume ( )
inlineprotected

◆ run()

void * JKRThread::run ( void  )
virtual

◆ searchThread()

JKRThread * JKRThread::searchThread ( OSThread thread)
static

◆ sendMessage()

BOOL JKRThread::sendMessage ( OSMessage  message)
inlineprotected

◆ sendMessageBlock()

void JKRThread::sendMessageBlock ( OSMessage  message)
inlineprotected

◆ setCommon_heapSpecified()

void JKRThread::setCommon_heapSpecified ( JKRHeap heap,
u32  stack_size,
int  param_3 
)

◆ setCommon_mesgQueue()

void JKRThread::setCommon_mesgQueue ( JKRHeap heap,
int  message_count 
)

◆ setCurrentHeap()

void JKRThread::setCurrentHeap ( JKRHeap heap)
inline

◆ start()

void * JKRThread::start ( void param_1)
static

◆ waitMessage() [1/2]

OSMessage JKRThread::waitMessage ( )
inlineprotected

◆ waitMessage() [2/2]

OSMessage JKRThread::waitMessage ( BOOL received)
inlineprotected

◆ waitMessageBlock()

OSMessage JKRThread::waitMessageBlock ( )
inlineprotected

Member Data Documentation

◆ mCurrentHeap

JKRHeap* JKRThread::mCurrentHeap
private

◆ mCurrentHeapError

s32 JKRThread::mCurrentHeapError
private

◆ mHeap

JKRHeap* JKRThread::mHeap
private

◆ mLoadInfo

TLoad JKRThread::mLoadInfo
private

◆ mMessageCount

s32 JKRThread::mMessageCount
private

◆ mMessageQueue

OSMessageQueue JKRThread::mMessageQueue
private

◆ mMessages

OSMessage* JKRThread::mMessages
private

◆ mStackMemory

void* JKRThread::mStackMemory
private

◆ mStackSize

u32 JKRThread::mStackSize
private

◆ mThreadListLink

JSULink<JKRThread> JKRThread::mThreadListLink
private

◆ mThreadRecord

OSThread* JKRThread::mThreadRecord
private

◆ sThreadList

JSUList< JKRThread > JKRThread::sThreadList
static

The documentation for this class was generated from the following files: