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
Possible fix to TCP Acknowlegement Numbers
[tpg/acess2.git]
/
Kernel
/
include
/
threads.h
diff --git
a/Kernel/include/threads.h
b/Kernel/include/threads.h
index
1e15547
..
b55fe0e
100644
(file)
--- a/
Kernel/include/threads.h
+++ b/
Kernel/include/threads.h
@@
-18,8
+18,8
@@
typedef struct sThread
{
// --- threads.c's
struct sThread *Next; //!< Next thread in list
-
int
IsLocked; //!< Thread's spinlock
- int Status; //!< Thread Status
+
tSpinlock
IsLocked; //!< Thread's spinlock
+
volatile
int Status; //!< Thread Status
int RetStatus; //!< Return Status
Uint TID; //!< Thread ID
@@
-43,7
+43,7
@@
typedef struct sThread
tVAddr SignalHandlers[NSIG]; //!< Signal Handler List
tTaskState SignalState; //!< Saved state for signal handler
- tMsg
*Messages;
//!< Message Queue
+ tMsg
* volatile Messages;
//!< Message Queue
tMsg *LastMessage; //!< Last Message (speeds up insertion)
int Quantum, Remaining; //!< Quantum Size and remaining timesteps
UCC
git Repository :: git.ucc.asn.au