Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Montplaisir2012-11-05 16:54:12 +0000
committerAlexandre Montplaisir2012-11-05 22:22:31 +0000
commita0a7a2085882ab565963b03dccf914872616e3d3 (patch)
treeafdc2a0539814736650e9ab448eea4858b79c1b4 /lttng/org.eclipse.linuxtools.ctf.core
parent6aacfbad456155c56bed71bbdee74bfa1f796a24 (diff)
downloadorg.eclipse.linuxtools-a0a7a2085882ab565963b03dccf914872616e3d3.tar.gz
org.eclipse.linuxtools-a0a7a2085882ab565963b03dccf914872616e3d3.tar.xz
org.eclipse.linuxtools-a0a7a2085882ab565963b03dccf914872616e3d3.zip
tmf: Handle race between state system queries and diposal
It's possible that a state system gets disposed while a query is ongoing (happens between two successive .getNextChild() calls, for example). Instead of implementing a convoluted reader-writer-lock, we can just catch the ClosedChannelException and rethrow a StateSystemDisposed exception. Change-Id: I93f72860bbb94a63e86e7c6f51682af659599fe3 Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-on: https://git.eclipse.org/r/8520 Tested-by: Hudson CI Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com> IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Diffstat (limited to 'lttng/org.eclipse.linuxtools.ctf.core')
0 files changed, 0 insertions, 0 deletions

Back to the top