Eric Blake
e208c38b49
command: introduce virPidWait, virPidAbort
...
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.
2011-07-14 11:56:30 -06:00
..
2011-05-05 13:47:40 -06:00
2011-02-21 14:46:23 +01:00
2009-09-21 14:41:47 +01:00
2011-07-14 11:56:30 -06:00
2011-07-11 09:11:15 -06:00
2010-10-12 11:26:52 +01:00
2006-01-23 22:55:41 +00:00
2010-10-27 16:29:25 -06:00
2011-04-01 16:03:11 -06:00
2011-06-22 15:50:08 +08:00
2011-06-14 11:03:56 -06:00
2008-04-23 17:08:31 +00:00
2005-12-21 16:59:34 +00:00
2005-12-21 16:59:34 +00:00
2010-10-27 15:01:45 +11:00
2011-04-01 16:03:11 -06:00
2008-04-23 17:08:31 +00:00
2009-11-06 16:05:18 +01:00
2010-10-27 15:01:45 +11:00
2011-02-09 12:29:29 -07:00
2010-11-10 13:16:37 +01:00
2010-12-21 20:55:10 +11:00
2011-01-05 18:07:30 +11:00
2010-11-30 02:22:38 +11:00
2010-10-27 15:01:45 +11:00
2010-10-27 15:01:45 +11:00
2008-04-23 17:08:31 +00:00
2010-12-21 20:55:10 +11:00
2011-03-28 14:09:11 +01:00
2011-04-01 16:03:11 -06:00
2011-03-15 12:12:53 +00:00
2011-02-15 13:50:28 -07:00
2011-07-07 17:49:21 -06:00
2008-04-23 17:08:31 +00:00
2009-11-16 22:42:13 +01:00
2011-02-15 13:50:28 -07:00
2009-11-16 22:42:13 +01:00
2011-04-01 16:03:11 -06:00
2010-02-04 19:09:28 +01:00
2009-09-22 12:55:39 +02:00
2008-04-28 08:29:35 +00:00
2010-07-10 22:47:00 +10:00
2008-04-23 17:08:31 +00:00
2008-04-23 17:08:31 +00:00
2008-04-23 17:08:31 +00:00
2011-01-17 17:08:13 +01:00
2011-07-11 11:47:14 +02:00
2011-06-24 18:28:51 -04:00
2008-04-23 17:08:31 +00:00
2011-05-23 19:41:18 -04:00
2009-11-06 16:05:18 +01:00
2010-04-06 09:44:03 -04:00
2010-11-25 10:40:07 +01:00
2011-04-01 16:03:11 -06:00
2009-12-03 15:27:24 +01:00
2011-03-28 10:40:24 +08:00
2010-11-12 19:47:20 +01:00
2010-11-12 19:47:20 +01:00
2011-05-05 13:47:40 -06:00
2011-03-31 14:36:19 -06:00
2011-06-06 10:45:59 +02:00
2011-03-28 10:40:24 +08:00
2011-02-18 08:59:51 +01:00
2011-04-01 16:03:11 -06:00
2009-04-02 12:01:11 +00:00
2009-09-22 12:55:39 +02:00
2009-07-16 15:06:42 +02:00
2009-04-15 20:42:50 +00:00
2009-04-15 20:42:50 +00:00
2009-04-15 20:42:50 +00:00
2009-04-15 20:42:50 +00:00
2008-04-23 17:08:31 +00:00
2008-04-23 17:08:31 +00:00
2008-04-23 17:08:31 +00:00
2008-04-23 17:08:31 +00:00
2008-04-23 17:08:31 +00:00
2008-04-23 17:08:31 +00:00
2009-04-15 20:42:50 +00:00
2009-04-15 20:42:50 +00:00
2010-12-17 23:10:33 +01:00
2006-02-09 17:45:11 +00:00
2011-06-28 18:19:00 +01:00
2011-04-01 16:03:11 -06:00
2006-02-09 17:45:11 +00:00
2008-04-23 17:08:31 +00:00
2011-07-14 09:41:38 -06:00
2011-06-22 15:50:08 +08:00
2011-07-11 20:53:21 +08:00
2009-07-29 09:04:21 +01:00
2006-01-23 13:24:07 +00:00
2006-01-23 13:24:07 +00:00
2011-01-28 08:44:05 -07:00
2011-02-09 12:29:29 -07:00
2008-04-23 17:08:31 +00:00
2009-11-06 16:05:18 +01:00
2011-07-12 15:09:05 +02:00
2011-01-17 16:55:41 +08:00
2009-12-08 16:09:33 +01:00
2011-06-28 18:19:00 +01:00
2010-09-17 00:41:08 +10:00
2005-12-05 11:16:07 +00:00
2010-12-02 16:00:47 -07:00
2011-05-11 19:18:38 +08:00
2011-05-11 08:18:04 -06:00
2011-05-11 19:18:38 +08:00
2010-10-12 11:26:52 +01:00
2011-07-12 17:10:33 +01:00
2010-11-08 22:00:35 +01:00
2011-01-11 07:33:15 +11:00
2011-04-01 16:03:11 -06:00
2010-11-12 19:47:20 +01:00