[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ✘gpsd .23.2~rc1
From: |
Gary E. Miller |
Subject: |
Re: ✘gpsd .23.2~rc1 |
Date: |
Sat, 9 Apr 2022 13:04:19 -0700 |
Yo Hal!
On Sat, 09 Apr 2022 13:00:00 -0700
Hal Murray <halmurray@sonic.net> wrote:
> >> Is gpsd multithreaded?
> > Yes, that is the whole point of strerror_r().
>
> There are lots of calls to strerror (no _r) in gpsd/
Yes, in the main thread. One thread can use strerror() is the
other ones use strerror_r(). In the case of gpsd, the other
thread is ppsthread, the only other thread.
> -----
>
> >> Can you do the test at run time?
> > Not in C.
>
> I was thinking of the config time test. If the test compiles, can
> you run it and check the return code? If so, assume the answer is
> an int and test for being less than 1000.
The problem is it compiles fine either way. Less than 1000 may work,
but pretty devious.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgpTtq3dMatJT.pgp
Description: OpenPGP digital signature
- Re: ✘gpsd .23.2~rc1, (continued)
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/08
- Re: ✘gpsd .23.2~rc1, Hal Murray, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Hal Murray, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Hal Murray, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Hal Murray, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Hal Murray, 2022/04/09
- Re: ✘gpsd .23.2~rc1,
Gary E. Miller <=
- Re: ✘gpsd .23.2~rc1, Fred Wright, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Fred Wright, 2022/04/11
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/11
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/11
- Re: ✘gpsd .23.2~rc1, Hal Murray, 2022/04/11
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/11
- Re: ✘gpsd .23.2~rc1, Fred Wright, 2022/04/12
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/12
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/12