[patch] asynchronous callouts

Joe Shaw joe at ximian.com
Sun Apr 25 11:40:30 PDT 2004


On Sun, 2004-04-25 at 20:04 +0200, David Zeuthen wrote:
> But the patch I just committed changes this - the timeout is now always
> 30 seconds at startup - except when visiting a toplevel device e.g. 
> 
>  /sys/devices/pci0000:00/0000:00:07.1
> 
> then we don't bother searching for a parent. So this is immediately
> added to the GDL. At some point we visit this device
> 
>  /sys/devices/pci0000:00/0000:00:07.1/ide0
> 
> and this waits (up until 30 seconds) until the device with the sysfs
> path /sys/devices/pci0000:00/0000:00:07.1 is in the GDL. So this works. 

Ah, ok, this should work fine then for toplevel devices.  Is there ever
a case when there are multiple levels of children (at least at startup)?
If so, the problem will still be there.

Joe


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



More information about the Hal mailing list