tmf: Update the suspend and resume handling of requests
authorBernd Hufmann <Bernd.Hufmann@ericsson.com>
Mon, 4 Nov 2013 19:26:22 +0000 (14:26 -0500)
committerBernd Hufmann <bernd.hufmann@ericsson.com>
Wed, 6 Nov 2013 17:43:20 +0000 (12:43 -0500)
commit29d60c55d1aaec54588814408aa2abe18f72d6aa
tree6e4a9a62eaad0058be151a79914b6b4edcfeea58
parentb5a80fe7f9822892cc49a5b394001a212e2e8f29
tmf: Update the suspend and resume handling of requests

The new implementation handles the event before suspending the thread
requested by the request executor. In the previous implementation the
thread is suspended before handleData() which causes unnecessary
handling of data if the request is canceled during the time the
thread is suspended.

Change-Id: I25e143db734ebf524630651e4ac779a7b4657e6a
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/18045
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/component/TmfEventThread.java
This page took 0.042309 seconds and 5 git commands to generate.