Re: udev_queue_get_seqnum_is_finished

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 23, 2009 at 14:43, Alan Jenkins <alan-jenkins@xxxxxxxxxxxxxx> wrote:

> Yes, that makes sense now.

Cool.

> Except for the comment, which seems to
> accurately describes the old, confused code :-)
>
> /* if we have not seen this seqnum, check if it is/was already queued */
>
> to match the new code, I think it would be
>
> /* if we have seen this seqnum, check if it is still queued */

It means, if we have not seen it (seq > last_seen), update (last_seen)
to the current number, and check again. The return 0 means, don't
bother the look at the queue dir, if we find out we don't even queued
this event. Does that sound wrong? To me it sounds ok. :)

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

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux