IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 30, 2012, 3:54:17 PM (14 years ago)
Author:
bills
Message:

In psphotExtendedSourceFitsReadout allocate a psMetadataIterator for each job
and pass it as an argument to psphotExtendedSourceFits_Threaded.
psMetadataIteratorAlloc and it's associated free function are not thread safe.
This is probably one of the sources of memory corruption failures in psphotStack

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotSetThreads.c

    r33964 r34218  
    4040    psFree(task);
    4141
    42     task = psThreadTaskAlloc("PSPHOT_EXTENDED_FIT", 14);
     42    task = psThreadTaskAlloc("PSPHOT_EXTENDED_FIT", 15);
    4343    task->function = &psphotExtendedSourceFits_Threaded;
    4444    psThreadTaskAdd(task);
Note: See TracChangeset for help on using the changeset viewer.