Bug 280519 - [services] Add a DsfSession.sendEvent() method.
Summary: [services] Add a DsfSession.sendEvent() method.
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf (show other bugs)
Version: 6.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-16 16:31 EDT by Pawel Piech CLA
Modified: 2020-09-04 15:22 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Piech CLA 2009-06-16 16:31:50 EDT
This sendEvent() method should call the event listeners in the same dispatch cycle as when the method is called.

The current DsfSession.dispatchEvent() method always submits a new runnable to the dispatch thread to call the event listeners.  As discussed in bug 280461 comment #19, it may sometimes be beneficial to be able to call the event listeners in the same dispatch cycle.