- Timestamp:
- Feb 19, 2009, 7:59:50 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branch_20090215/ppImage/src/ppImageArguments.c
r19943 r21536 80 80 if ((argnum = psArgumentGet(argc, argv, "-visual"))) { 81 81 psArgumentRemove(argnum, &argc, argv); 82 psphotSetVisual(true);82 pmVisualSetVisual(true); 83 83 } 84 84 … … 86 86 if ((argnum = psArgumentGet(argc, argv, "-threads"))) { 87 87 psArgumentRemove(argnum, &argc, argv); 88 int nThreads = atoi(argv[argnum]);88 int nThreads = atoi(argv[argnum]); 89 89 psMetadataAddS32(config->arguments, PS_LIST_TAIL, "NTHREADS", 0, "number of warp threads", nThreads); 90 90 psArgumentRemove(argnum, &argc, argv); 91 91 92 // create the thread pool with number of desired threads, supplying our thread launcher function93 // XXX need to determine the number of threads from the config data94 psThreadPoolInit (nThreads);92 // create the thread pool with number of desired threads, supplying our thread launcher function 93 // XXX need to determine the number of threads from the config data 94 psThreadPoolInit (nThreads); 95 95 } 96 96
Note:
See TracChangeset
for help on using the changeset viewer.
