Re: fastboot/async and initramfs: How am I supposed to know when devices are finished initializing?

From: Kay Sievers
Date: Mon Mar 30 2009 - 14:43:28 EST


On Mon, Mar 30, 2009 at 20:23, Dan Williams <dan.j.williams@xxxxxxxxx> wrote:

> settle: allow --timeout=0 to test for "queue busy"

> + Â Â Â if (!udev_queue_get_queue_is_empty(udev_queue))
> + Â Â Â Â Â Â Â rc = 1;

You mean, we should not wait? Then we need to check for timeout == 0
and return immediately instead of entering the checking loop at all,
right?

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/