IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26795


Ignore:
Timestamp:
Feb 5, 2010, 3:34:27 PM (16 years ago)
Author:
Paul Price
Message:

Need to wait for threads to finish!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/psLib/src/imageops/psImageCovariance.c

    r26794 r26795  
    174174    }
    175175    psFree(covar);
     176
     177    if (!psThreadPoolWait(true)) {
     178        psError(PS_ERR_UNKNOWN, false, "Error waiting for threads.");
     179        return false;
     180    }
    176181
    177182    return out;
     
    335340    psFree(covar);
    336341
     342    if (!psThreadPoolWait(true)) {
     343        psError(PS_ERR_UNKNOWN, false, "Error waiting for threads.");
     344        return false;
     345    }
     346
    337347    return out;
    338348}
Note: See TracChangeset for help on using the changeset viewer.