tmf: Bug: 499359: Fix deadlock in table when closing trace selection
authorBernd Hufmann <Bernd.Hufmann@ericsson.com>
Fri, 14 Oct 2016 00:36:46 +0000 (20:36 -0400)
committerBernd Hufmann <bernd.hufmann@ericsson.com>
Fri, 14 Oct 2016 19:42:31 +0000 (15:42 -0400)
commitcd936d77ef9ad18ee739f2bf59ab5df29b3fed2e
treeaa1da05089d7f850ae3ec8559d89aba2dcc1efc0
parent6120dc638d8ea1aaca8dee3b4a0244d582c4b241
tmf: Bug: 499359: Fix deadlock in table when closing trace selection

When closing a trace while a selection range updated signal is handled
in the TmfEventsTable a deadlock can occur because 2 threads are
taking the trace lock and request lock in different order.

The solution is to not use an event request for updating the selection
range in the table.

Change-Id: I67218cd564d97a6fc91226ad56639b2c2c971cea
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/83172
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/viewers/events/TmfEventsTable.java
This page took 0.025108 seconds and 5 git commands to generate.