gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] Revised adaptive-delay code - please test


From: Eric S. Raymond
Subject: Re: [gpsd-dev] Revised adaptive-delay code - please test
Date: Wed, 28 Jan 2015 17:06:50 -0500
User-agent: Mutt/1.5.23 (2014-03-12)

Gary E. Miller <address@hidden>:
> Most 'sleep' commands take a floating point number.
> 
> So just convert this:
>       usleep ${DELAY}00  # 0-3 seconds
> 
> To this:
>       sleep  `echo "scale=6; $DELAY / 1000000" | bc`

Thanks, test running now, no hang after 6 minutes.

I have a bad feeling that it's not going to hang at all, leaving us with
little clue as to what's going on.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]