summaryrefslogtreecommitdiff
path: root/ot_mutex.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2007-11-22 04:38:25 +0000
committerDirk Engling <erdgeist@erdgeist.org>2007-11-22 04:38:25 +0000
commit00809d596f092ef12076c65c2186aa77484e210d (patch)
treebc5b9e43305c38596d487909d0d6a710276603c2 /ot_mutex.c
parent31c2a9fe031b3739696e4fa27d0bed79004cb8de (diff)
downloadopentracker-00809d596f092ef12076c65c2186aa77484e210d.tar.gz
opentracker-00809d596f092ef12076c65c2186aa77484e210d.zip
Introducing compression task flags
Diffstat (limited to 'ot_mutex.c')
-rw-r--r--ot_mutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_mutex.c b/ot_mutex.c
index 5624c03..fb632d7 100644
--- a/ot_mutex.c
+++ b/ot_mutex.c
@@ -194,7 +194,7 @@ ot_taskid mutex_workqueue_poptask( ot_tasktype *tasktype ) {
while( !taskid ) {
/* Skip to the first unassigned task this worker wants to do */
task = tasklist;
- while( task && ( ( ( TASK_MASK & task->tasktype ) != *tasktype ) || task->taskid ) )
+ while( task && ( ( ( TASK_CLASS_MASK & task->tasktype ) != *tasktype ) || task->taskid ) )
task = task->next;
/* If we found an outstanding task, assign a taskid to it