X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Fmessages.c;h=1391d9914c3e8fb6158b725c4ed8d8a87b2cce1d;hb=e56e258bdc6345e33454ddb127b2d87c536a0f39;hp=05f75f1121b4aa59617348a053d2363fd3d2ca06;hpb=6f7536232f8215621955df99b9884c7893bfcb97;p=tpg%2Facess2.git diff --git a/Kernel/messages.c b/Kernel/messages.c index 05f75f11..1391d991 100644 --- a/Kernel/messages.c +++ b/Kernel/messages.c @@ -11,9 +11,6 @@ #include #include -// === IMPORTS === -extern tShortSpinlock glThreadListLock; - // === CODE === /** * \fn int Proc_SendMessage(Uint *Err, Uint Dest, int Length, void *Data) @@ -68,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); }