[patch] wireless patch, take 2

Robert Love rml at ximian.com
Thu May 27 13:07:10 PDT 2004


On Thu, 2004-05-27 at 21:57 +0200, Owen Fraser-Green wrote:

> Yes, and if a GetProperty is called while the set is processing a better
> solution than blocking as I suggested earlier could be to return
> "undetermined" or something similar. As you say the HAL's property is
> changed iff the physical property changes and this is when the signal is
> emitted and GetProperty will be guaranteed to succeed (unless another
> SetProperty is working).

Or just return the previous property (which is, technically, still the
correct property until the set completes).  So long as the set and get
are atomic wrt each other, it does not really matter.

	Robert Love



_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list