IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 13, 2008, 5:26:54 PM (18 years ago)
Author:
Paul Price
Message:

Changed API for pmSubtractionThreadsInit, and adding pmSubtractionThreadsFinalize. This takes care of mutexes for the images.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubArguments.c

    r19045 r19060  
    255255    }
    256256
    257     int threads = psMetadataLookupS32(NULL, arguments, "-threads"); // Number of threads
    258     if (threads > 0) {
    259         if (!psThreadPoolInit(threads)) {
    260             psError(PS_ERR_UNKNOWN, false, "Unable to setup %d threads", threads);
    261             return false;
    262         }
    263         pmSubtractionThreadSetup();
    264     }
    265 
    266257    return true;
    267258}
Note: See TracChangeset for help on using the changeset viewer.