Kernel - Removed debug from workqueue
[tpg/acess2.git] / Kernel / workqueue.c
index cfdf428..b1a6385 100644 (file)
@@ -65,10 +65,8 @@ void Workqueue_AddWork(tWorkqueue *Queue, void *Ptr)
        
        if( Queue->Sleeper )
        {       
-               SHORTLOCK( &glThreadListLock );
                if( Queue->Sleeper->Status != THREAD_STAT_ACTIVE )
                        Threads_AddActive(Queue->Sleeper);
-               SHORTREL( &glThreadListLock );
                Queue->Sleeper = NULL;
        }
        SHORTREL(&Queue->Protector);

UCC git Repository :: git.ucc.asn.au