From: Sean D. <se...@da...> - 2004-05-21 18:57:13
|
On Fri, May 21, 2004 at 11:19:51AM -0700, Tariq Shureih wrote: <snip>=20 > This looks good so far. >=20 > Questions: > Where will oHpiPluginAvail() get it's list from and how will it work. If= from=20 > the config file which is pulled into a hash table, then these plug-ins ar= e=20 > already loaded. I was actually expecting that to be a scan of plugins stored on disk in findable locations. This is the list of plugins that could be loaded. > Something I just thought about, an issue of, what if you specify multiple= =20 > plug-ins and one or more fail to load or don't respond. Today we don't= =20 > handle it (at least testing with IPMI plugin). Yes, this needs to be dealt with better. We used to die if anything failed, now we keep going but return a bad return at init. There isn't any real good way to let the user figure out exactly what went wrong however. =20 > Wouldn't this also introduce the whole concept of ref-count to in the=20 > infrastructre? ltdl will prevent us from loading a module more than once if it is already loaded, there are better ways we can use info there. We will have to keep active handler counts, which is a ref count of sorts, associated with each plugin. That will have to be part of the handler create and destroy interfaces. =20 > Some some thoughts, I will have to think about this some more. >=20 >=20 > --=20 > ^>^>^>^>^>^>^ > Tariq Shureih >=20 > Linux is not just an open-source OS, it's a way of life. > It opened my mind beyond reality, and into the imagination of others. > I simply look at code, but in reality, I am learning more about people. >=20 > http://www.palestinian.org > http://www.leakystomache.com >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g.= =20 > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3D3149&alloc_id=3D8166&op=3Dclick > _______________________________________________ > Openhpi-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openhpi-devel >=20 --=20 __________________________________________________________________ Sean Dague Mid-Hudson Valley sean at dague dot net Linux Users Group http://dague.net http://mhvlug.org There is no silver bullet. Plus, werewolves make better neighbors than zombies, and they tend to keep the vampire population down. __________________________________________________________________ |