From: John Hodge Date: Thu, 24 Nov 2011 08:13:32 +0000 (+0800) Subject: Kernel - Fixed a double-lock in message handling X-Git-Tag: rel0.14~76 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=4e46ccc3dac894e24b88afc834a3bd712665b2e5;p=tpg%2Facess2.git Kernel - Fixed a double-lock in message handling --- diff --git a/Kernel/messages.c b/Kernel/messages.c index 2c0e448c..1391d991 100644 --- a/Kernel/messages.c +++ b/Kernel/messages.c @@ -65,10 +65,8 @@ int Proc_SendMessage(Uint *Err, Uint Dest, int Length, void *Data) SHORTREL(&thread->IsLocked); - SHORTLOCK(&glThreadListLock); LOG("Waking %p (%i %s)", thread, thread->TID, thread->ThreadName); Threads_Wake( thread ); - SHORTREL(&glThreadListLock); LEAVE_RET('i', 0); }