Home
last modified time | relevance | path

Searched hist:c024d780229822fe4eb5a948b4e5d76a8e28f3f9 (Results 1 – 3 of 3) sorted by relevance

/openbmc/phosphor-fan-presence/control/json/triggers/
H A Dsignal.cppdiff c024d780229822fe4eb5a948b4e5d76a8e28f3f9 Tue Nov 09 16:15:49 CST 2021 Matthew Barth <msbarth@us.ibm.com> control: Correct subscribing/handling of signals

When subscribing to signals, a pointer to the signal packages should be
used for the location to store the list of signal packages. This way the
callback is bound to the pointer and not the local variable that was
then getting moved.

Also, in handling signal messages, since there could be more than one
signal package to check against the signal received, a rewind must be
done to the signal message so that additional signal packages can read
the message contents again.

Change-Id: Iddea2011d25068d6f71bdee91801537cd5994728
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
/openbmc/phosphor-fan-presence/control/json/
H A Dmanager.hppdiff c024d780229822fe4eb5a948b4e5d76a8e28f3f9 Tue Nov 09 16:15:49 CST 2021 Matthew Barth <msbarth@us.ibm.com> control: Correct subscribing/handling of signals

When subscribing to signals, a pointer to the signal packages should be
used for the location to store the list of signal packages. This way the
callback is bound to the pointer and not the local variable that was
then getting moved.

Also, in handling signal messages, since there could be more than one
signal package to check against the signal received, a rewind must be
done to the signal message so that additional signal packages can read
the message contents again.

Change-Id: Iddea2011d25068d6f71bdee91801537cd5994728
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
H A Dmanager.cppdiff c024d780229822fe4eb5a948b4e5d76a8e28f3f9 Tue Nov 09 16:15:49 CST 2021 Matthew Barth <msbarth@us.ibm.com> control: Correct subscribing/handling of signals

When subscribing to signals, a pointer to the signal packages should be
used for the location to store the list of signal packages. This way the
callback is bound to the pointer and not the local variable that was
then getting moved.

Also, in handling signal messages, since there could be more than one
signal package to check against the signal received, a rewind must be
done to the signal message so that additional signal packages can read
the message contents again.

Change-Id: Iddea2011d25068d6f71bdee91801537cd5994728
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>