Tony Nguyen writes: > Christine Tran wrote: > > Hi, I've seen a few manifests out there with timeout_seconds ='-1', > > what does this do? In fact, what does timeout_seconds = '0' even > > mean, does it mean don't care and don't wait for exit status? Because > > really, it has to take some increment of time greater than 0, however > > small, for the method to return. > > > Christine, > > timeout values of -1 or 0 indicate infinite timeouts.
Tony's right. But, I'm sad we didn't manage to eradicate all use of -1 before S10 shipped. It was based on an engineering misunderstanding, and is an annoying value to use considering that timeout_seconds is of type "count", which is a non-negative integer. Nonetheless, I was surprised to note that smf_method didn't document the 0 denotes infinite convention. I'll file a manpage bug, and make sure the template data describes it in my templates workspace. :) ( Oooh! An opportunity to explore the difference between choices, descriptions, and constraints. Fun! http://opensolaris.org/os/project/vpanels/templates/ ) liane -- Liane Praza, Solaris Kernel Development liane.praza at sun.com - http://blogs.sun.com/lianep