r.li.daemon: respect for WORKERS enviro var
|Reported by:||hamish||Owned by:|
it would be nice if r.li.daemon respected the WORKERS environment variable for setting the number of threads to launch.
AFAICS most of the code can be borrowed from trunk/lib/gis/worker.c. (some doxygen comments would help)
I wonder if both the pthreads and r.li.daemon fork() code should use the same "GRASS_WORKERS" enviro var instead of the more generic "WORKERS" name? or is that name some pthreads standard?
or for that matter, if r.li.daemon should be adapted to use the grass7 pthreads support instead of doing its own thing?