tmf: Protect HTNode accesses with a reader/writer lock
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Mon, 27 Jan 2014 21:59:58 +0000 (16:59 -0500)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Tue, 11 Feb 2014 22:38:35 +0000 (17:38 -0500)
commit62197b87f0572c0e354a3c6549cfced584697bac
tree9941641823a60356f619806b89ce0f744f122230
parent412a0225e21359fe46cdc414853b5e08eaeaa02c
tmf: Protect HTNode accesses with a reader/writer lock

Some funny things could happen in multi-thread scenarios, especially
if someone is querying the node while it is being written to disk.

Change-Id: Icbd5e1a5edf3118f9aa8e4827ba865b9b6f6f8ab
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/21159
Tested-by: Hudson CI
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/backends/historytree/CoreNode.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/backends/historytree/HTNode.java
This page took 0.027197 seconds and 5 git commands to generate.