IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 8, 2008, 8:17:12 AM (18 years ago)
Author:
Paul Price
Message:

Fixing following changes to psThread.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeArguments.c

    r18839 r18967  
    174174    if ((argnum = psArgumentGet(argc, argv, "-threads"))) {
    175175        psArgumentRemove(argnum, &argc, argv);
    176         int nThreads = atoi(argv[argnum]);
     176        int nThreads = atoi(argv[argnum]);
    177177        psMetadataAddS32(config->arguments, PS_LIST_TAIL, "NTHREADS", 0, "number of warp threads", nThreads);
    178178        psArgumentRemove(argnum, &argc, argv);
    179179
    180         // create the thread pool with number of desired threads, supplying our thread launcher function
    181         // XXX need to determine the number of threads from the config data
    182         psThreadPoolInit (nThreads);
     180        // create the thread pool with number of desired threads, supplying our thread launcher function
     181        // XXX need to determine the number of threads from the config data
     182        psThreadPoolInit (nThreads);
    183183    }
    184184    ppMergeSetThreads();
     
    379379#endif
    380380
     381    psFree(arguments);
    381382    return true;
    382383
Note: See TracChangeset for help on using the changeset viewer.