[GRASS5] warning sleep

Radim Blazek Radim.Blazek at dhv.cz
Mon Feb 19 13:14:08 EST 2001


Roger Bivand wrote:
> > 
> > G_warning ( )  -->  print_error() --> sleep(5)
> > 
> > I don't like such sleeping. Exists any option how to switch off sleep.
> > If not, I would vote for no sleep by default 
> > (no_sleep = 1; instead of no_sleep = 0; in libes/gis/error.c)
> 
> What about G_sleep_on_error() in the gis library? That is settable on a
> program-by-program basis, and could be put in G_gisinit() to load the
> environment variable - doesn't seem to be there yet?
> 
> Roger

I'll change no_sleep to 1  in grass50 (should not cause new bug)
and we can add suggested G_sleep_on_error() to G_gisinit() in grass51
if no objections.

Radim

 

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list