From: John Hodge Date: Fri, 28 Oct 2011 01:44:41 +0000 (+0800) Subject: Kernel/threads - Removed another nested lock X-Git-Tag: rel0.14~182 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=d069f04c4ae06ea7e0e71db144df338c1bd33ac2;p=tpg%2Facess2.git Kernel/threads - Removed another nested lock --- diff --git a/Kernel/threads.c b/Kernel/threads.c index 949f6d23..1393f54a 100644 --- a/Kernel/threads.c +++ b/Kernel/threads.c @@ -1661,12 +1661,12 @@ int Semaphore_Signal(tSemaphore *Sem, int AmmountToAdd) #endif // Wake the sleeper - SHORTLOCK( &glThreadListLock ); +// SHORTLOCK( &glThreadListLock ); if( toWake->Status != THREAD_STAT_ACTIVE ) Threads_AddActive(toWake); else Warning("Thread %p (%i %s) is already awake", toWake, toWake->TID, toWake->ThreadName); - SHORTREL( &glThreadListLock ); +// SHORTREL( &glThreadListLock ); } SHORTREL( &Sem->Protector );