#722: r.li.daemon: respect for WORKERS enviro var
-------------------------+--------------------------------------------------
 Reporter:  hamish       |       Owner:  [email protected]
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  Raster       |     Version:  svn-trunk                
 Keywords:  r.li, smp    |    Platform:  All                      
      Cpu:  All          |  
-------------------------+--------------------------------------------------
 Hi,

 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?


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/722>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to