[EMAIL PROTECTED] wrote on 12/24/2007 09:33:49 
AM:

> 
> 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)

saHpiAutoInsertTimeoutSet will set the timeout for all handlers that 
report resources within that domain. This may conflict with the timeout 
set by other domains if the resources the handler reports are present in 
other domains. In that case, the last timeout set wins. If this is a 
problem, the HPI user may configure the domains such that there is no 
conflict.

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

Yes, however there is an inconsistency that needs to be fixed. Currently 
the auto-insert timeout from the domain stanza is not set on the handlers 
at startup. So the plugin timeout and the domain timeout might be out of 
sync until saHpiAutoInsertTimeoutSet is called.

Next year this won't be a problem as domains will have their own process 
space and the auto-insert timeout may be passed to the handlers on 
creation.
For now, a fix might appear in a future patch release in which domains 
might call saHpiAutoInsertTimeoutSet after initial discovery is done.

        --Renier




 
-------------------------------------------------------------------------
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