IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23554 for trunk/Ohana


Ignore:
Timestamp:
Mar 26, 2009, 9:41:29 AM (17 years ago)
Author:
eugene
Message:

remove deprecated pcontrol files; handle error in job submission on controller

Location:
trunk/Ohana/src/opihi/pcontrol
Files:
4 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pcontrol/JobOps.c

    r21379 r23554  
    202202  ALLOCATE (job, Job, 1);
    203203
     204  job[0].JobID    = NextJobID();
     205  if (job[0].JobID < 0) {
     206    free (job);
     207    return -1;
     208  }
     209
    204210  job[0].argc     = argc;
    205211  job[0].argv     = argv;
     
    220226  job[0].dtime = 0.0;
    221227  job[0].pid = 0;
    222 
    223   job[0].JobID    = NextJobID();
    224228  job[0].host     = NULL;
    225229
  • trunk/Ohana/src/opihi/pcontrol/job.c

    r19124 r23554  
    4848  }
    4949
     50  // a JobID < 0 mean the job was not accepted
    5051  JobID = AddJob (Host, Mode, Timeout, targc, targv);
    5152  gprint (GP_LOG, "JobID: %d\n", (int) JobID);
Note: See TracChangeset for help on using the changeset viewer.