[patch] Make APM and PMU poll like acpi does
David Zeuthen
david at fubar.dk
Mon Mar 7 08:37:24 PST 2005
On Mon, 2005-03-07 at 11:28 +0100, Sjoerd Simons wrote:
>Why are you using one poll function that searches the complete gdl for the
>right objects each time ? Just adding a timeout for each object when it's added
>and removing that when the object is removed seems cleaner to me.
Then you can get into all sorts of interesting races if the HalDevice
object is removed (which is probably never is for PMU but you get the
point). It's also more code and more accounting. Something to optimize
for later I guess unless you got a patch handy?
David
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list