From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 1/3] poller: add poller support
Date: Wed, 15 Sep 2010 10:30:22 +0200 [thread overview]
Message-ID: <4C90841E.8060204@pengutronix.de> (raw)
In-Reply-To: <20100915074736.GC23518@game.jcrosoft.org>
[-- Attachment #1.1: Type: text/plain, Size: 1162 bytes --]
On 09/15/2010 09:47 AM, Jean-Christophe PLAGNIOL-VILLARD wrote:
> Hi,
>
> a bit more info in the commit will be nice
I should have put the information from the introduction mail to the
first patch. Here it comes:
This patch adds a generic polling infrastructure to barebox. It defines
a interface to add and remove functions that should be called during a
poll. These functions can be used to reset hardware watchdogs or poll
devices to simulate interrupts.
> but we could name it differently as it could be see as interrupt
Do you have a better name? I'm usually bad with good names, but I don't
want to have interrupts or something like this, because it's polling no
real interrupts. E.g. if you don't have the polling call in your
for-loop your code won't be interrupted. (..and it's usually not your
code that's missing the poller call).
cheers, Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2010-09-15 8:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-15 7:26 [PATCH 0/3] add generic polling infrastructure Marc Kleine-Budde
2010-09-15 7:26 ` [PATCH 1/3] poller: add poller support Marc Kleine-Budde
2010-09-15 7:47 ` Jean-Christophe PLAGNIOL-VILLARD
2010-09-15 8:30 ` Marc Kleine-Budde [this message]
2010-09-15 7:26 ` [PATCH 2/3] clock: add poller call to is_timeout() Marc Kleine-Budde
2010-09-15 7:26 ` [PATCH 3/3] unlzo: add poller call to unlzo routine Marc Kleine-Budde
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=4C90841E.8060204@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=plagnioj@jcrosoft.com \
/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