Skip to main content



      Home
Home » Eclipse Projects » Equinox » Concurrent EclipseStarter.run(...)
Concurrent EclipseStarter.run(...) [message #129393] Fri, 17 April 2009 20:03 Go to next message
Eclipse UserFriend
I am using EclipseStarter to run a eclipse application like this:

try {
EclipseStarter.startup(startArgs, null);
EclipseStarter.run(startARgs);
} finally {
EclipseStarter.shutdown();
}

Does the EclipseStarter.run(...) support concurrent execution? If I have 2
threads both calling EclipseStarter.run(...) at the same time after the
EclipseStarter.startup(...) call?

Or does one have to wait for the other to finish?


-Tom
Re: Concurrent EclipseStarter.run(...) [message #129421 is a reply to message #129393] Sun, 19 April 2009 22:32 Go to previous message
Eclipse UserFriend
No EclipseStarter.run does not support multiple threads calling it. It
is intended to take over the main thread and make it available to the
eclipse application container to launch main thread applications on.

If you need to launch multiple applications at the same time then you
will need to consider launching Using the ApplicationDescriptor services
from the Eclipse application container. For more information see
http://wiki.eclipse.org/Equinox_Application_Model_Demo

HTH.

Tom.
Previous Topic:[Aspects] Equinox Aspects with Java 1.4?
Next Topic:synchronousbundlelistener got called from two concurrent threads?
Goto Forum:
  


Current Time: Sat Jul 12 18:10:39 EDT 2025

Powered by FUDForum. Page generated in 0.02716 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top