Neil and Gunner are correct.  I also question the motivation to running activators in parallel.  In implies some kind of design flaw because you must have some long running BundleActivators if you want to run them in parallel.  You are better off investigating why you must have long running BundleActivators.

Tom
 
 
 
----- Original message -----
From: Neil Bartlett <njbartl...@gmail.com>
Sent by: equinox-dev-boun...@eclipse.org
To: Equinox development mailing list <equinox-dev@eclipse.org>
Cc:
Subject: Re: [equinox-dev] Parallel bundle activation?
Date: Fri, Oct 26, 2018 7:20 AM
 
Hi Lars,
 
Activation of a bundle happens when the launcher calls Bundle.start(). You can certainly write a launcher that calls start() on many bundles concurrently from multiple threads.
 
Most existing launchers, including AFAICT the default Eclipse/Equinox launcher, call start() in series.
 
Neil
 
On Fri, Oct 26, 2018 at 1:12 PM Gunnar Wagenknecht <gun...@wagenknecht.org> wrote:
Hi Lars,
 
Here is a good thread about the topic:
 
TLDR: single thread only
 
-Gunnar

-- 
Gunnar Wagenknecht
gun...@wagenknecht.org, http://guw.io/
 



 
 
On Oct 26, 2018, at 14:09, Lars Vogel <lars.vo...@vogella.com> wrote:
 
Hi,

can Equinox perform bundle activation during startup in parallel?

For example, lets assume I have two bundles A and B which have no
dependency to each other. Both should be activated during startup. Can
this be done in parallel? Or is the current code single-threaded?

Best regards, Lars

--
Eclipse Platform project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vo...@vogella.com, Web: http://www.vogella.com
_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/equinox-dev
_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/equinox-dev
_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/equinox-dev
 

_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to