Yes, the prop is updated correctly if the call returns successfully.  If 
not then it is a problem and a bug should be
filed. ;-)

Steve


Narendra Kumar S.S wrote:
> But, is it guaranteed that the effect will be immediate?
> If not, then we will have problems.
>
> -Narendra
>
> On 7/25/07, *steve peng* < Steve.Peng at sun.com 
> <mailto:Steve.Peng at sun.com>> wrote:
>
>
>     The call should have an immediate effect on the property so you
>     shouldn't need anything other than checking
>     the return value.
>
>     Steve
>
>     Narendra Kumar S.S wrote:
>     > Hi,
>     >
>     >      In one of the routines I am coding for, I need to enable the
>     > service filesystem/local (this is done when the system is in
>     miniroot).
>     >      I am calling smf_enable_instance() to achieve this.
>     >      Now, do I need to wait in the routine to see that the
>     service is
>     > enabled or can I take it for granted that the service is enabled?
>     >
>     >      Please do suggest.
>     >
>     > --
>     > Warm Regards,
>     > Narendra
>     >
>     > Visit my blogs at:
>     > http://ssnarendrakumar.blogspot.com/
>     <http://ssnarendrakumar.blogspot.com/>
>     >    ___    ___    __    _
>     >   /  __/  /  __/  /     | / /
>     > _\   \   _ \   \   /   /| |/ /
>     > \___/ \___/   /_/ |__/
>     >
>     ------------------------------------------------------------------------
>
>     >
>     > _______________________________________________
>     > smf-discuss mailing list
>     > smf-discuss at opensolaris.org <mailto:smf-discuss at opensolaris.org>
>     >
>
>
>
>
> -- 
> Warm Regards,
> Narendra
>
> Visit my blogs at:
> http://ssnarendrakumar.blogspot.com/
>    ___    ___    __    _
>   /  __/  /  __/  /     | / /
> _\   \   _ \   \   /   /| |/ /
> \___/ \___/   /_/ |__/ 


Reply via email to