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 - Debugging hard locks
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
semaphore.c
diff --git
a/KernelLand/Kernel/semaphore.c
b/KernelLand/Kernel/semaphore.c
index
e43547a
..
2c9fc94
100644
(file)
--- a/
KernelLand/Kernel/semaphore.c
+++ b/
KernelLand/Kernel/semaphore.c
@@
-127,10
+127,8
@@
int Semaphore_Wait(tSemaphore *Sem, int MaxToTake)
toWake->RetStatus = given;
// Wake the sleeper
- SHORTLOCK( &glThreadListLock );
if( toWake->Status != THREAD_STAT_ACTIVE )
Threads_AddActive(toWake);
- SHORTREL( &glThreadListLock );
}
SHORTREL( &Sem->Protector );
UCC
git Repository :: git.ucc.asn.au