|
From: | Vladimir Sementsov-Ogievskiy |
Subject: | Re: [RFC PATCH v2 10/14] jobs: protect jobs with job_lock/unlock |
Date: | Sat, 18 Dec 2021 14:57:17 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 |
04.11.2021 17:53, Emanuele Giuseppe Esposito wrote:
Introduce the job locking mechanism through the whole job API, following the comments and requirements of job-monitor (assume lock is held) and job-driver (lock is not held). job_{lock/unlock} is independent from_job_{lock/unlock}. Note: at this stage, job_{lock/unlock} and job lock guard macros are*nop*. Signed-off-by: Emanuele Giuseppe Esposito<eesposit@redhat.com>
JOB_LOCK_GUARD / WITH_JOB_LOCK_GUARD may be used in many cases -- Best regards, Vladimir
[Prev in Thread] | Current Thread | [Next in Thread] |