qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH 3/6] job: minor changes to simplify locking


From: Eric Blake
Subject: Re: [RFC PATCH 3/6] job: minor changes to simplify locking
Date: Tue, 13 Jul 2021 12:56:14 -0500
User-agent: NeoMutt/20210205-569-37ed14

On Wed, Jul 07, 2021 at 06:58:10PM +0200, Emanuele Giuseppe Esposito wrote:
> Check for NULL id to job_get, so that in the next patch we can
> move job_get inside a single critical section of job_create.
> 
> Also add missing notifier_list_init for the on_idle NotifierList,
> which seems to have been forgot.

forgotten

> 
> Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
> ---
>  job.c | 16 ++++++++++++----
>  1 file changed, 12 insertions(+), 4 deletions(-)

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]