From: Arne Jansen <lists@die-jansens.de>
To: Arne Jansen <sensille@gmx.net>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Subject: Re: [PATCH] ulist: generic data structure to build unique lists
Date: Thu, 20 Oct 2011 18:56:16 +0200 [thread overview]
Message-ID: <4EA052B0.2080409@die-jansens.de> (raw)
In-Reply-To: <1319122241-7222-1-git-send-email-sensille@gmx.net>
On 20.10.2011 16:50, Arne Jansen wrote:
> + * This function is used to iterate an ulist. The iteration is started with
> + * @prev = %NULL. It returns the next element from the ulist or %NULL when the
> + * end is reached. No guarantee is made with respect to the order in which
> + * the elements are returned. They might neither be returned in order of
> + * addition nor in ascending order.
> + * It is allowed to call ulist_add during an enumeration. Newly added items
> + * are guaranteed to show up in the running enumeration.
Thinking twice about it this guarantee most probably implies that the
items are returned in order of addition. This is currently the case.
> + */
prev parent reply other threads:[~2011-10-20 16:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-20 14:50 Arne Jansen
2011-10-20 16:56 ` Arne Jansen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EA052B0.2080409@die-jansens.de \
--to=lists@die-jansens.de \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sensille@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®