IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 16, 2006, 10:58:49 PM (20 years ago)
Author:
eugene
Message:

major updates to use gprint for buffered / threaded printing

File:
1 edited

Legend:

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

    r6687 r7917  
    33int status_sys (int argc, char **argv) {
    44
    5   fprintf (stderr, "\n");
     5  gprint (GP_LOG, "\n");
    66  if (rl_event_hook == NULL) {
    7     fprintf (stderr, " Scheduler is stopped\n");
     7    gprint (GP_LOG, " Scheduler is stopped\n");
    88  } else {
    9     fprintf (stderr, " Scheduler is running\n");
     9    gprint (GP_LOG, " Scheduler is running\n");
    1010  }
    1111  if (CheckControllerStatus ()) {
    12     fprintf (stderr, " Controller is running\n");
     12    gprint (GP_LOG, " Controller is running\n");
    1313  } else {
    14     fprintf (stderr, " Controller is stopped\n");
     14    gprint (GP_LOG, " Controller is stopped\n");
    1515  }
    1616  ListTasks (FALSE);
Note: See TracChangeset for help on using the changeset viewer.