[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCHv2 2/3] command: don't mix RunAsync and daemons



On Wed, Mar 23, 2011 at 05:48:12PM -0600, Eric Blake wrote:
> It doesn't make sense to run a daemon without synchronously
> waiting for the child process to reply whether the daemon has
> been kicked off and pidfile written yet.
> 
> * src/util/command.c (VIR_EXEC_RUN_SYNC): New constant.
> (virCommandRun): Set temporary flag.
> (virCommandRunAsync): Use it to prevent async runs of intermediate
> child when spawning asynchronous daemon grandchild.
> ---
> 
> v2: new patch

  ACK,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]