|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH RFC v2 12/13] libxl: New API for providing OS eve
On Fri, 28 Oct 2011, Ian Jackson wrote:
> + * There are two approaches available. The first is appropriate for
> + * simple programs handling reasonably small numbers of domains:
> + *
> + * for (;;) {
> + * libxl_osevent_beforepoll(...)
> + * poll();
> + * libxl_osevent_afterpoll(...);
> + * for (;;) {
> + * r=libxl_event_check(...);
> + * if (r==LIBXL_NOT_READY) break;
> + * if (r) handle failure;
> + * do something with the event;
> + * }
> + * }
It is good that you included an example here but it doesn't follow the
CODING_STYLE
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- Re: [Xen-devel] [PATCH RFC v2 12/13] libxl: New API for providing OS events to libxl,
Stefano Stabellini <=
|
|
|
|
|