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
Reworked semaphores to be symetric
[tpg/acess2.git]
/
Kernel
/
include
/
threads.h
diff --git
a/Kernel/include/threads.h
b/Kernel/include/threads.h
index
fc2303c
..
0f164f8
100644
(file)
--- a/
Kernel/include/threads.h
+++ b/
Kernel/include/threads.h
@@
-86,6
+86,7
@@
static const char * const casTHREAD_STAT[] = {
"THREAD_STAT_ACTIVE",
"THREAD_STAT_SLEEPING",
"THREAD_STAT_MUTEXSLEEP",
"THREAD_STAT_ACTIVE",
"THREAD_STAT_SLEEPING",
"THREAD_STAT_MUTEXSLEEP",
+ "THREAD_STAT_SEMAPHORESLEEP",
"THREAD_STAT_WAITING",
"THREAD_STAT_PREINIT",
"THREAD_STAT_ZOMBIE",
"THREAD_STAT_WAITING",
"THREAD_STAT_PREINIT",
"THREAD_STAT_ZOMBIE",
@@
-117,4
+118,7
@@
extern void Threads_Kill(tThread *Thread, int Status);
extern void Threads_AddActive(tThread *Thread);
extern tThread *Threads_GetNextToRun(int CPU, tThread *Last);
extern void Threads_AddActive(tThread *Thread);
extern tThread *Threads_GetNextToRun(int CPU, tThread *Last);
+extern tThread *Threads_CloneTCB(Uint *Err, Uint Flags);
+extern tThread *Threads_CloneThreadZero(void);
+
#endif
#endif
UCC
git Repository :: git.ucc.asn.au