Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344514 - Need a way of running the core event queue on a thread other than the creating thread
Summary: Need a way of running the core event queue on a thread other than the creatin...
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Agent (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 0.4.0   Edit
Assignee: Project Inbox CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 19:42 EDT by Peder Andersen CLA
Modified: 2013-06-05 05:54 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 Peder Andersen CLA 2011-05-02 19:42:37 EDT
Some implementations of the TCF Agent cannot run the event queue on the thread which instantiates it; we need a way to instantiate the core event queue object, create some fundamental objects (Protocol, etc.) then run the event queue itself as a new thread.

Originally reported as part of bug 339590.
Comment 1 Eugene Tarassov CLA 2011-06-03 09:38:44 EDT
I have changed the code to allow to call run_event_loop() from a thread other than the thread that called ini_events_queue().