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/x86 - (minor) Cleaned up debug in VM8086
[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
578fdcf
..
4845264
100644
(file)
--- a/
KernelLand/Kernel/include/threads_int.h
+++ b/
KernelLand/Kernel/include/threads_int.h
@@
-71,7
+71,10
@@
struct sThread
struct sProcess *Process; //!< Thread Group / Process
struct sThread *Parent; //!< Parent Thread
char *ThreadName; //!< Name of thread
struct sProcess *Process; //!< Thread Group / Process
struct sThread *Parent; //!< Parent Thread
char *ThreadName; //!< Name of thread
-
+
+ struct sThread *LastDeadChild; //!< Last child to die (will have the \a DeadChildren lock)
+ tMutex DeadChildLock; //!< Lock to prevent clobbering of \a LastDeadChild, acquired by child, released by parent
+
// --- arch/proc.c's responsibility
//! Kernel Stack Base
tVAddr KernelStack;
// --- arch/proc.c's responsibility
//! Kernel Stack Base
tVAddr KernelStack;
UCC
git Repository :: git.ucc.asn.au