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
Fixed Threads_Yield clearning the Quantum, not the remaining timesteps
[tpg/acess2.git]
/
Kernel
/
threads.c
diff --git
a/Kernel/threads.c
b/Kernel/threads.c
index
9b8b30f
..
7fb31f4
100644
(file)
--- a/
Kernel/threads.c
+++ b/
Kernel/threads.c
@@
-335,7
+335,7
@@
void Threads_Kill(tThread *Thread, int Status)
*/
void Threads_Yield()
{
- Proc_GetCurThread()->
Quantum
= 0;
+ Proc_GetCurThread()->
Remaining
= 0;
HALT();
}
UCC
git Repository :: git.ucc.asn.au