git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Composite commit (GUI / Networking)
[tpg/acess2.git]
/
Kernel
/
threads.c
diff --git
a/Kernel/threads.c
b/Kernel/threads.c
index
dd4f0d2
..
b76fe59
100644
(file)
--- a/
Kernel/threads.c
+++ b/
Kernel/threads.c
@@
-865,7
+865,7
@@
void Threads_Dump(void)
{
Log(" %i (%i) - %s (CPU %i)",
thread->TID, thread->TGID, thread->ThreadName, thread->CurCPU);
- Log(" State %i
", thread->Status
);
+ Log(" State %i
(%s)", thread->Status, casTHREAD_STAT[thread->Status]
);
switch(thread->Status)
{
case THREAD_STAT_MUTEXSLEEP:
@@
-909,7
+909,7
@@
tThread *Threads_GetNextToRun(int CPU, tThread *Last)
thread = gDeleteThreads->Next;
if( IS_LOCKED(&gDeleteThreads->IsLocked) ) { // Only free if structure is unused
// Set to dead
- gDeleteThreads->Status = THREAD_STAT_
DEA
D;
+ gDeleteThreads->Status = THREAD_STAT_
BURIE
D;
// Free name
if( IsHeap(gDeleteThreads->ThreadName) )
free(gDeleteThreads->ThreadName);
UCC
git Repository :: git.ucc.asn.au