Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314713 - CDI notification thread should belong to Session not MISession
Summary: CDI notification thread should belong to Session not MISession
Status: CLOSED INVALID
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-cdi-gdb (show other bugs)
Version: 7.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Elena Laskavaia CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-27 12:09 EDT by James Blackburn CLA
Modified: 2010-05-27 13:01 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 James Blackburn CLA 2010-05-27 12:09:50 EDT
Currently each MISession has an event thread, and posts events asynchronously to the managers listening in the Session.  This ties a Session to one and only one MISession (or, if multiple MISessions are registered there's the possibility of races: https://bugs.eclipse.org/bugs/show_bug.cgi?id=314666)

Perhaps this could be improved by having a single event thread per CDI session that events from the MISessions are queued to.
Comment 1 James Blackburn CLA 2010-05-27 13:01:53 EDT
I think I've misunderstood how this works. 

Will need to figure out again how the ICDI hierarchy fits in with the C* hierarchy.