qemu-block
[Top][All Lists]
Advanced

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

Re: [PATCH v9 05/21] job.c: add job_lock/unlock while keeping job.h inta


From: Emanuele Giuseppe Esposito
Subject: Re: [PATCH v9 05/21] job.c: add job_lock/unlock while keeping job.h intact
Date: Mon, 11 Jul 2022 09:30:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0


Am 08/07/2022 um 21:25 schrieb Vladimir Sementsov-Ogievskiy:
>>   static bool job_started(Job *job)
> 
> So we can call it both with mutex locked and without. Hope it never race
> with job_start.

Where exactly do you see it called with mutex not held?

I don't see it anywhere, and if you agree too, we should rename it in
_locked.

Emanuele




reply via email to

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