IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 11, 2007, 10:56:27 AM (19 years ago)
Author:
eugene
Message:

adding intelligent timeouts to task and job threads; removing deprecated files

File:
1 edited

Legend:

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

    r7917 r12404  
    3737
    3838  p = buffer.buffer;
    39   for (i = 0; (i < Njobs) && !TestElapsedCheck(); i++) {
     39  for (i = 0; i < Njobs; i++) {
    4040    q = strchr (p, '\n');
    4141    if (q == NULL) {
     
    5656  if (VerboseMode()) gprint (GP_ERR, "clear %d exit jobs %f\n", i, TimerElapsed(TRUE));
    5757
    58   if (TestElapsedCheck()) goto finish;
    59   /* this will prevent us from ever checking crashed jobs... */
    60 
    6158  /*** check CRASH jobs ***/
    6259  FlushIOBuffer (&buffer);
     
    7370
    7471  p = buffer.buffer;
    75   for (i = 0; (i < Njobs) && !TestElapsedCheck(); i++) {
     72  for (i = 0; i < Njobs; i++) {
    7673    q = strchr (p, '\n');
    7774    if (q == NULL) {
Note: See TracChangeset for help on using the changeset viewer.