[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.16-502
From: |
Gary E. Miller |
Subject: |
[gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.16-502-g39463e4 |
Date: |
Wed, 28 Sep 2016 23:58:48 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GPSD".
The branch, master has been updated
via 39463e42b0f65ae3dd505459a1333b1963b33cd2 (commit)
from 8341622e5121c50527943e09480e85f648b3b2b5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 39463e42b0f65ae3dd505459a1333b1963b33cd2
Author: Fred Wright <address@hidden>
Date: Wed Sep 28 16:45:47 2016 -0700
Fixes various flakiness in PPS handling.
The pps_thread_activate() code uses a single structure to pass
information to the monitor thread. The latter copies the data during
its initialization, so there's no long-term conflict across threads,
but there's no guarantee that the thread runs and gets far enough to
do that before the structure is reused. Note that this bug is fairly
unlikely to affect a multicore machine unless it's heavily loaded, but
easily causes trouble on a single-core machine.
A variety of strange PPS misbehaviors were observed on a Beaglebone
Black in the presence of this bug, including various nonreproducible
PPS initialization problems and failures, and duplicate PPS reports.
This change uses the pps_thread field as a flag to communicate a "copy
acknowledgment" back to pps_thread_activate(), which waits for it
before proceeding.
TESTED:
Launched several times on a Beaglebone Black with KPPS support, and
no longer observed flaky PPS startup in the logs, as well as no
longer observing duplicate PPS events in gpsmon. Not tested on
other platforms due to the lack of PPS availability.
Signed-off-by: Gary E. Miller <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
ppsthread.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
hooks/post-receive
--
GPSD
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.16-502-g39463e4,
Gary E. Miller <=