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
Kernel/threads - Debug cleanups and (hopefully) race avoidance
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
include
/
threads_int.h
diff --git
a/KernelLand/Kernel/include/threads_int.h
b/KernelLand/Kernel/include/threads_int.h
index
403a2ef
..
1c9a08d
100644
(file)
--- a/
KernelLand/Kernel/include/threads_int.h
+++ b/
KernelLand/Kernel/include/threads_int.h
@@
-143,6
+143,7
@@
static const char * const casTHREAD_STAT[] = {
"THREAD_STAT_DEAD",
"THREAD_STAT_BURIED"
};
"THREAD_STAT_DEAD",
"THREAD_STAT_BURIED"
};
+static const unsigned int ciTHREAD_STAT_COUNT = sizeof(casTHREAD_STAT)/sizeof(casTHREAD_STAT[0]);
// === GLOBALS ===
extern BOOL gaThreads_NoTaskSwitch[MAX_CPUS];
// === GLOBALS ===
extern BOOL gaThreads_NoTaskSwitch[MAX_CPUS];
UCC
git Repository :: git.ucc.asn.au