Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Parallel bundle activation?

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 <gunnar@xxxxxxxxxxxxxxx> wrote:
Hi Lars,

Here is a good thread about the topic:

TLDR: single thread only

-Gunnar

-- 
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx, http://guw.io/






On Oct 26, 2018, at 14:09, Lars Vogel <lars.vogel@xxxxxxxxxxx> 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.vogel@xxxxxxxxxxx, Web: http://www.vogella.com
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
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@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/equinox-dev

Back to the top