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 - ADded ctype.h to utf16.h's include list
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
workqueue.c
diff --git
a/KernelLand/Kernel/workqueue.c
b/KernelLand/Kernel/workqueue.c
index
9e2c6f6
..
2cd6a25
100644
(file)
--- a/
KernelLand/Kernel/workqueue.c
+++ b/
KernelLand/Kernel/workqueue.c
@@
-46,10
+46,7
@@
void *Workqueue_GetWork(tWorkqueue *Queue)
SHORTREL(&glThreadListLock);
// Yield and sleep
SHORTREL(&glThreadListLock);
// Yield and sleep
- Threads_Yield();
- if(us->Status == THREAD_STAT_QUEUESLEEP) {
- // Why are we awake?!
- }
+ Threads_int_WaitForStatusEnd(THREAD_STAT_QUEUESLEEP);
us->WaitPointer = NULL;
}
us->WaitPointer = NULL;
}
UCC
git Repository :: git.ucc.asn.au