IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 26, 2007, 1:40:50 PM (19 years ago)
Author:
eugene
Message:

fixed task npending

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pantasks/CheckTasks.c

    r11317 r11324  
    2525    }
    2626    if (task[0].NpendingMax && (task[0].Npending >= task[0].NpendingMax)) {
    27         gettimeofday (&task[0].last, (void *) NULL);
    28         continue;
    29     }
    30 
    31     /* check if there are errors with this task */
    32     if (!ValidateTask (task, TRUE)) {
     27        fprintf (stderr, "npending: %d, max npending: %d\n", task[0].Npending, task[0].NpendingMax);
    3328        gettimeofday (&task[0].last, (void *) NULL);
    3429        continue;
     
    4237          continue;
    4338      }
     39    }
     40
     41    /* check if there are errors with this task */
     42    if (!ValidateTask (task, TRUE)) {
     43        gettimeofday (&task[0].last, (void *) NULL);
     44        continue;
    4445    }
    4546
Note: See TracChangeset for help on using the changeset viewer.