IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20838


Ignore:
Timestamp:
Nov 25, 2008, 4:38:57 PM (17 years ago)
Author:
Paul Price
Message:

Ensure thread jobs have the expected type when harvesting.

Location:
trunk/psModules/src/imcombine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmStackReject.c

    r20832 r20838  
    327327        psThreadJob *job;                   // Job to destroy
    328328        while ((job = psThreadJobGetDone())) {
     329            psAssert(strcmp(job->type, "PSMODULES_STACK_REJECT_GROW") == 0,
     330                     "Job has incorrect type: %s", job->type);
    329331            psFree(job);
    330332        }
  • trunk/psModules/src/imcombine/pmSubtraction.c

    r20832 r20838  
    13191319        psThreadJob *job;               // Completed job
    13201320        while ((job = psThreadJobGetDone())) {
     1321            psAssert(strcmp(job->type, "PSMODULES_SUBTRACTION_CONVOLVE") == 0,
     1322                     "Job has incorrect type: %s", job->type);
    13211323            psFree(job);
    13221324        }
Note: See TracChangeset for help on using the changeset viewer.