IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26800


Ignore:
Timestamp:
Feb 5, 2010, 5:08:13 PM (16 years ago)
Author:
Paul Price
Message:

Only wait for threads if we're threading. Otherwise, we're stepping on someone else's threads' toes.

File:
1 edited

Legend:

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

    r26795 r26800  
    175175    psFree(covar);
    176176
    177     if (!psThreadPoolWait(true)) {
     177    if (threaded && !psThreadPoolWait(true)) {
    178178        psError(PS_ERR_UNKNOWN, false, "Error waiting for threads.");
    179179        return false;
     
    340340    psFree(covar);
    341341
    342     if (!psThreadPoolWait(true)) {
     342    if (threaded && !psThreadPoolWait(true)) {
    343343        psError(PS_ERR_UNKNOWN, false, "Error waiting for threads.");
    344344        return false;
Note: See TracChangeset for help on using the changeset viewer.