Changeset 23242 for trunk/ppImage/src/ppImageArguments.c
- Timestamp:
- Mar 9, 2009, 4:19:37 PM (17 years ago)
- Location:
- trunk/ppImage
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/ppImageArguments.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/cnb_branches/cnb_branch_20090215/ppImage merged eligible /branches/cnb_branch_20090215/ppImage 21495-22685
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/ppImage/src/ppImageArguments.c
r23229 r23242 81 81 if ((argnum = psArgumentGet(argc, argv, "-visual"))) { 82 82 psArgumentRemove(argnum, &argc, argv); 83 psphotSetVisual(true);83 pmVisualSetVisual(true); 84 84 } 85 85 … … 87 87 if ((argnum = psArgumentGet(argc, argv, "-threads"))) { 88 88 psArgumentRemove(argnum, &argc, argv); 89 int nThreads = atoi(argv[argnum]);89 int nThreads = atoi(argv[argnum]); 90 90 psMetadataAddS32(config->arguments, PS_LIST_TAIL, "NTHREADS", 0, "number of warp threads", nThreads); 91 91 psArgumentRemove(argnum, &argc, argv); 92 92 93 // create the thread pool with number of desired threads, supplying our thread launcher function94 // XXX need to determine the number of threads from the config data95 psThreadPoolInit (nThreads);93 // create the thread pool with number of desired threads, supplying our thread launcher function 94 // XXX need to determine the number of threads from the config data 95 psThreadPoolInit (nThreads); 96 96 } 97 97
Note:
See TracChangeset
for help on using the changeset viewer.
