Improve ShardedDOMDataTreeProducer locking 33/45833/1
authorRobert Varga <rovarga@cisco.com>
Fri, 16 Sep 2016 20:20:43 +0000 (22:20 +0200)
committerRobert Varga <rovarga@cisco.com>
Mon, 19 Sep 2016 15:08:39 +0000 (17:08 +0200)
The path from backend was taking coarse lock even when not needed.
Explicitly annotate submitTransaction() as needing the lock being
held and push down its acquisition so we take it only after we
are certain we actually need it.

Change-Id: Icd1226796568829ea3735e6eec42677a79b9b3b5
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit 2ce13c8680d68ba1e50eab9609069b6aecfa62a5)


No differences found