Reviewed this one from Nathan and check -g pmie passes on a couple of QA
platforms, so this is good to go.
Changes committed to git://git.pcp.io/kenj/pcp master
Nathan Scott (1):
pmie: prevent premature rule evaluation in pmie live mode
qa/862 | 41 +++++++++++++++++++++++++++++++++++++++++
qa/862.out | 2 ++
qa/group | 1 +
src/pmie/src/pmie.c | 6 ++++++
4 files changed, 50 insertions(+)
Details ...
commit 1631ea89c76f8a24c664b84ebcf875ca35ab263c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Jun 3 14:42:04 2015 +1000
pmie: prevent premature rule evaluation in pmie live mode
Resolve an issue introduced in commit d21bb6c017696 - some
code Ken and I thought was unnecessary turned out to be in
use after all. The rest of that commit remains, it's just
the snippet of code that re-adjusts the Task scheduling vs
the current time that is affected by slow reading on stdin
(which can happen if rules are manually entered).
Added a new qa/862 test to exercise the situation and fix.
|