Changeset 18967 for trunk/ppMerge/src/ppMergeArguments.c
- Timestamp:
- Aug 8, 2008, 8:17:12 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppMerge/src/ppMergeArguments.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppMerge/src/ppMergeArguments.c
r18839 r18967 174 174 if ((argnum = psArgumentGet(argc, argv, "-threads"))) { 175 175 psArgumentRemove(argnum, &argc, argv); 176 int nThreads = atoi(argv[argnum]);176 int nThreads = atoi(argv[argnum]); 177 177 psMetadataAddS32(config->arguments, PS_LIST_TAIL, "NTHREADS", 0, "number of warp threads", nThreads); 178 178 psArgumentRemove(argnum, &argc, argv); 179 179 180 // create the thread pool with number of desired threads, supplying our thread launcher function181 // XXX need to determine the number of threads from the config data182 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); 183 183 } 184 184 ppMergeSetThreads(); … … 379 379 #endif 380 380 381 psFree(arguments); 381 382 return true; 382 383
Note:
See TracChangeset
for help on using the changeset viewer.
