[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCH 1/3] command: introduce virPidWait, virPidAbort
- From: Matthias Bolte <matthias bolte googlemail com>
- To: Eric Blake <eblake redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] [PATCH 1/3] command: introduce virPidWait, virPidAbort
- Date: Thu, 14 Jul 2011 19:34:01 +0200
2011/7/12 Eric Blake <eblake redhat com>:
> When using virCommandRunAsync and saving the pid for later, it
> is useful to be able to reap that pid in the same way that it
> would have been auto-reaped by virCommand if we had passed
> NULL for the pid argument in the first place.
>
> * src/util/command.c (virPidWait, virPidAbort): New functions,
> created from...
> (virCommandWait, virCommandAbort): ...bodies of these.
> (includes): Drop duplicate <stdlib.h>. Ensure that our pid_t
> assumptions hold.
> (virCommandRunAsync): Improve documentation.
> * src/util/command.h (virPidWait, virPidAbort): New prototypes.
> * src/libvirt_private.syms: Export them.
> * docs/internals/command.html.in: Document them.
> ---
> docs/internals/command.html.in | 17 +++++
> src/libvirt_private.syms | 2 +
> src/util/command.c | 140 ++++++++++++++++++++++++++++------------
> src/util/command.h | 28 ++++++++
> 4 files changed, 146 insertions(+), 41 deletions(-)
ACK.
--
Matthias Bolte
http://photron.blogspot.com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]