PUD: do not keep shadow copies of txPosition and txGateway
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 6 Mar 2012 11:43:26 +0000 (12:43 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 6 Mar 2012 13:17:15 +0000 (14:17 +0100)
commit13382355d447c1c94402c144ba106a00f8ef1b04
tree95e01ca69711064984dcd1b189d48a33a2e0bc28
parent444abdce92a369d859928f9c3336964b46fecb63
PUD: do not keep shadow copies of txPosition and txGateway

Before, txPosition and txGateway were kept as shadow copies
to avoid lock contention. Since this contention is
extremely unlikely (and when it happens very short-lived)
we just take the hit and reduce complexity by not keeping
the shadow copies.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/pud/src/receiver.c