Hello.

As I can see, now domain architecture is above plug-ins.
The domain stanza is entity path pattern for resources owned by the domain.
I see there are following possibilities:

         1) all plug-in instance resources are owned by single domain
         2) plug-in instance resource is owned by several domains
         3) some plug-in instance resources are owned by one domain, others by
            other domains

Regular expressions in entity patterns allows possibilities described  
above.
Plug-in instance does not know what domain/domains it belongs.

Question 1)
        There is domain parameter - auto-insert timeout.
        How handler can set it if handler does not know about domain/domains it 
 
belongs?
        ( in case 2 or in case 3)

Question 2)
        Should 'AutoInsertTimeout' parameter be moved from plug-in stanza
        to domain stanza?


Also, I guess that using of non-const static variables may cause problems  
in case
of several plug-in instances.

The suspicious places in ipmidirect plug-in:

plugins/ipmidirect/ipmi_mc_vendor.cpp:static int use_count = 0;
plugins/ipmidirect/ipmi_mc_vendor.cpp:static cThreadLock lock;
plugins/ipmidirect/ipmi_mc_vendor_intel.cpp:  static unsigned char id_time  
= 20;  /*id_time = 20 seconds*/
plugins/ipmidirect/thread.cpp:static pthread_key_t thread_key;
plugins/ipmidirect/thread.cpp:static cInit init;


                Anton Pak

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to