static unsigned long int next
Definition CARDUnlock.c:76
void(* JKRThreadSwitch_PreCallback)(OSThread *current, OSThread *next)
Definition JKRThread.h:138
void(* JKRThreadSwitch_PostCallback)(OSThread *current, OSThread *next)
Definition JKRThread.h:139
BOOL OSReceiveMessage(OSMessageQueue *mq, OSMessage *msg, s32 flags)
Definition OSMessage.c:40
BOOL OSJamMessage(OSMessageQueue *queue, void *msg, s32 flags)
Definition OSMessage.c:67
BOOL OSSendMessage(OSMessageQueue *mq, OSMessage msg, s32 flags)
Definition OSMessage.c:14
void * OSMessage
Definition OSMessage.h:10
s32 OSResumeThread(OSThread *thread)
Definition OSThread.c:565
asm OSTick OSGetTick(void)
Definition OSTime.c:25
u32 OSTick
Definition OSTime.h:11
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JKRDisposer.h:12
static JKRHeap * getCurrentHeap()
Definition JKRHeap.h:154
Definition JKRThread.h:145
JKRThread * enter(JKRThread *param_1, int param_2)
Definition JKRThread.cpp:152
u8 field_0x9[3]
Definition JKRThread.h:171
s64 field_0x18
Definition JKRThread.h:175
u32 field_0xC
Definition JKRThread.h:172
static JKRThreadSwitch * sManager
Definition JKRThread.h:161
virtual ~JKRThreadSwitch()
Definition JKRThread.cpp:315
static JKRThreadSwitch_PostCallback mUserPostCallback
Definition JKRThread.h:165
u32 field_0x20
Definition JKRThread.h:176
bool mSetNextHeap
Definition JKRThread.h:170
virtual void draw(JKRThreadName_ *param_1, JUTConsole *param_2)
Definition JKRThread.cpp:247
u32 field_0x10
Definition JKRThread.h:173
static u32 sTotalStart
Definition JKRThread.h:163
u8 field_0x14[4]
Definition JKRThread.h:174
u32 field_0x24
Definition JKRThread.h:177
static void callback(OSThread *param_1, OSThread *param_2)
Definition JKRThread.cpp:177
static JKRThreadSwitch * createManager(JKRHeap *heap)
Definition JKRThread.cpp:140
static JKRThreadSwitch * getManager()
Definition JKRThread.h:157
static u32 getTotalCount()
Definition JKRThread.h:158
JKRHeap * mHeap
Definition JKRThread.h:169
static u32 sTotalCount
Definition JKRThread.h:162
static JKRThreadSwitch_PreCallback mUserPreCallback
Definition JKRThread.h:164
Definition JKRThread.h:25
s32 mThreadId
Definition JKRThread.h:60
void resetCount()
Definition JKRThread.h:43
bool isValid() const
Definition JKRThread.h:33
OSTick mLastTick
Definition JKRThread.h:59
void setId(s32 id)
Definition JKRThread.h:39
u32 getCount() const
Definition JKRThread.h:35
u32 getCost() const
Definition JKRThread.h:34
TLoad()
Definition JKRThread.h:27
void setCurrentTime()
Definition JKRThread.h:40
u32 mSwitchCount
Definition JKRThread.h:58
u8 padding_0x61[3]
Definition JKRThread.h:56
void resetCost()
Definition JKRThread.h:42
void incCount()
Definition JKRThread.h:45
u32 mCost
Definition JKRThread.h:57
void clear()
Definition JKRThread.h:48
void addCurrentCost()
Definition JKRThread.h:46
s32 getId() const
Definition JKRThread.h:36
void setValid(bool valid)
Definition JKRThread.h:38
bool mValid
Definition JKRThread.h:55
Definition JKRThread.h:23
void * mStackMemory
Definition JKRThread.h:123
virtual void * run()
Definition JKRThread.cpp:305
static JSUList< JKRThread > & getList()
Definition JKRThread.h:132
s32 mCurrentHeapError
Definition JKRThread.h:127
OSMessage * mMessages
Definition JKRThread.h:121
TLoad * getLoadInfo()
Definition JKRThread.h:75
static JKRThread * searchThread(OSThread *thread)
Definition JKRThread.cpp:110
OSMessage waitMessageBlock()
Definition JKRThread.h:105
void * getStack() const
Definition JKRThread.h:74
s32 mMessageCount
Definition JKRThread.h:122
JSULink< JKRThread > mThreadListLink
Definition JKRThread.h:117
void sendMessageBlock(OSMessage message)
Definition JKRThread.h:88
void jamMessageBlock(OSMessage message)
Definition JKRThread.h:110
BOOL sendMessage(OSMessage message)
Definition JKRThread.h:85
OSThread * getThreadRecord() const
Definition JKRThread.h:73
JKRHeap * mHeap
Definition JKRThread.h:118
static JSUList< JKRThread > sThreadList
Definition JKRThread.h:134
void setCommon_heapSpecified(JKRHeap *heap, u32 stack_size, int param_3)
Definition JKRThread.cpp:92
JKRHeap * mCurrentHeap
Definition JKRThread.h:126
TLoad mLoadInfo
Definition JKRThread.h:125
u32 mStackSize
Definition JKRThread.h:124
OSMessage waitMessage()
Definition JKRThread.h:91
void setCurrentHeap(JKRHeap *heap)
Definition JKRThread.h:79
virtual ~JKRThread()
Definition JKRThread.cpp:62
OSMessage waitMessage(BOOL *received)
Definition JKRThread.h:97
void setCommon_mesgQueue(JKRHeap *heap, int message_count)
Definition JKRThread.cpp:79
s32 getCurrentHeapError() const
Definition JKRThread.h:77
OSMessageQueue mMessageQueue
Definition JKRThread.h:120
void resume()
Definition JKRThread.h:84
JKRHeap * getCurrentHeap() const
Definition JKRThread.h:76
OSThread * mThreadRecord
Definition JKRThread.h:119
Definition JUTConsole.h:13
static SECTION_RODATA u8 const id[8]
Definition d_a_npc_bans.cpp:1309
@ start
Definition strtoul.c:8
Definition JKRThread.h:180
static JSUList< JKRTask > sTaskList
Definition JKRThread.h:181
static u8 sEndMesgQueue[32]
Definition JKRThread.h:182
Definition JKRThread.h:12
s32 id
Definition JKRThread.h:13
char * name
Definition JKRThread.h:14
Definition OSMessage.h:12
int BOOL
Definition types.h:27
unsigned long u32
Definition types.h:10
signed long long s64
Definition types.h:7
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8
static u32 message
Definition vi.c:838