summaryrefslogtreecommitdiff
path: root/ot_mutex.c
diff options
context:
space:
mode:
authorerdgeist <>2007-11-22 04:38:25 +0000
committererdgeist <>2007-11-22 04:38:25 +0000
commit4bf12406fb38d0ec0f6f9d156334d73e1b671830 (patch)
treebc5b9e43305c38596d487909d0d6a710276603c2 /ot_mutex.c
parentc09ad325cc5a7f862018ded951ee934c7fc6f348 (diff)
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 ) {
194 while( !taskid ) { 194 while( !taskid ) {
195 /* Skip to the first unassigned task this worker wants to do */ 195 /* Skip to the first unassigned task this worker wants to do */
196 task = tasklist; 196 task = tasklist;
197 while( task && ( ( ( TASK_MASK & task->tasktype ) != *tasktype ) || task->taskid ) ) 197 while( task && ( ( ( TASK_CLASS_MASK & task->tasktype ) != *tasktype ) || task->taskid ) )
198 task = task->next; 198 task = task->next;
199 199
200 /* If we found an outstanding task, assign a taskid to it 200 /* If we found an outstanding task, assign a taskid to it