gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] [PATCH] [RFC] gpsmon: add PPS monitoring at -D2 debug lev


From: Eric S. Raymond
Subject: Re: [gpsd-dev] [PATCH] [RFC] gpsmon: add PPS monitoring at -D2 debug level
Date: Sat, 2 Nov 2013 09:53:02 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

Beat Bolli <address@hidden>:
> > I actually tried implementing this but failed because I didn't realize
> > there was still a bad cohesion to the SHM allocation.  Good work noticing
> > that.
> > 
> 
> Thanks.
> 
> I'm working on locking now. ncurses is not thread-safe, isn't it? Then
> it should be no problem to write to the packet window from pps_report,
> regardless of the debug level.

Hint: there are two functions acquire_reporting_lock() and 
release_reporting_lock() intended for this purpose.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>

Attachment: signature.asc
Description: Digital signature


reply via email to

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