Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Plugin threads and stuff..
Plugin threads and stuff.. [message #22774] Fri, 11 April 2003 22:46 Go to next message
Eclipse UserFriend
Originally posted by: kduffey.marketron.com

Hey all,

I know we can't controll all renegade developers and how they code things. I
am wondering what happens if a plugin creates a thread that uses part of the
ref to another plugin (or plugin class) to do its work, and if the plugin
class that this plugin depends on gets deactivated, unloaded, or reloaded,
what happens to the thread? My guess is it is up to the plugin lifecycle
event AND the code in the thread to properly check the object before each
use, but sometimes speed is of the essence so adding a lot of if() calls may
not be appropriate. How would such a scenario be handled?
Re: Plugin threads and stuff.. [message #22818 is a reply to message #22774] Mon, 14 April 2003 13:54 Go to previous message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 333
Registered: July 2009
Location: Ottawa
Senior Member
In this case, the plugin that has the thread must "require" (in the eclipse
sense) the plugin it uses.
According to the "deactivation" process, when a plugin gets deactivated all
the plugins
that relies on it can get deactivated too.

PaScaL

"Kevin" <kduffey@marketron.com> wrote in message
news:b77g6p$ot0$1@rogue.oti.com...
> Hey all,
>
> I know we can't controll all renegade developers and how they code things.
I
> am wondering what happens if a plugin creates a thread that uses part of
the
> ref to another plugin (or plugin class) to do its work, and if the plugin
> class that this plugin depends on gets deactivated, unloaded, or reloaded,
> what happens to the thread? My guess is it is up to the plugin lifecycle
> event AND the code in the thread to properly check the object before each
> use, but sometimes speed is of the essence so adding a lot of if() calls
may
> not be appropriate. How would such a scenario be handled?
>
>
Previous Topic:Dynamic plugins notification
Next Topic:Questions about OSGi
Goto Forum:
  


Current Time: Thu Dec 26 16:16:01 GMT 2024

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

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

Back to the top