X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Fworkqueue.c;h=b1a63851fdf27a8c1d87ac92f8e8b792661a3a26;hb=031cac4d366b4b1f623ec91c11bfbfba4b09a55b;hp=cfdf4280a36a9fe044414dbdc9d9d13fb318d891;hpb=13cfd41138fbb925b9a9e239ecd58d1a768ac5aa;p=tpg%2Facess2.git diff --git a/Kernel/workqueue.c b/Kernel/workqueue.c index cfdf4280..b1a63851 100644 --- a/Kernel/workqueue.c +++ b/Kernel/workqueue.c @@ -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);