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

[libvirt] Re: [Qemu-devel] [PATCH 2/6] Introduce monitor 'wait' command (v2)



On 4/8/09, Anthony Liguori <aliguori us ibm com> wrote:
> The wait command will pause the monitor the command was issued in until a new
>  event becomes available.  Events are queued if there isn't a waiter present.
>  The wait command completes after a single event is available.

>  +    if (!w->polling)
>  +        monitor_resume(w->mon);

CODING_STYLE, chapter 4:
"Every indented statement is braced; even if the block contains just one
statement."

;-)


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