* [PATCH] libxl: remove poller from list in libxl__poller_get
@ 2012-04-10 14:41 Roger Pau Monne
2012-04-24 17:40 ` Ian Jackson
0 siblings, 1 reply; 2+ messages in thread
From: Roger Pau Monne @ 2012-04-10 14:41 UTC (permalink / raw)
To: xen-devel; +Cc: Ian Jackson, Roger Pau Monne
Remove poller from the list once it has been requested. To be merged with Ian
Jackson series.
Signed-off-by: Roger Pau Monne <roger.pau@citrix.com>
CC: Ian Jackson <ian.jackson@citrix.com>
---
tools/libxl/libxl_event.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/tools/libxl/libxl_event.c b/tools/libxl/libxl_event.c
index dcd5802..91b1bb1 100644
--- a/tools/libxl/libxl_event.c
+++ b/tools/libxl/libxl_event.c
@@ -1050,8 +1050,10 @@ libxl__poller *libxl__poller_get(libxl_ctx *ctx)
int rc;
libxl__poller *p = LIBXL_LIST_FIRST(&ctx->pollers_idle);
- if (p)
+ if (p) {
+ LIBXL_LIST_REMOVE(p, entry);
return p;
+ }
p = malloc(sizeof(*p));
if (!p) {
--
1.7.7.5 (Apple Git-26)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] libxl: remove poller from list in libxl__poller_get
2012-04-10 14:41 [PATCH] libxl: remove poller from list in libxl__poller_get Roger Pau Monne
@ 2012-04-24 17:40 ` Ian Jackson
0 siblings, 0 replies; 2+ messages in thread
From: Ian Jackson @ 2012-04-24 17:40 UTC (permalink / raw)
To: Roger Pau Monne; +Cc: xen-devel
Roger Pau Monne writes ("[Xen-devel] [PATCH] libxl: remove poller from list in libxl__poller_get"):
> Remove poller from the list once it has been requested. To be merged with Ian
> Jackson series.
This has indeed now been committed as part of my series.
Ian.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-24 17:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-10 14:41 [PATCH] libxl: remove poller from list in libxl__poller_get Roger Pau Monne
2012-04-24 17:40 ` Ian Jackson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).