[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 4/6] job.h: categorize job fields
From: |
Stefan Hajnoczi |
Subject: |
Re: [RFC PATCH 4/6] job.h: categorize job fields |
Date: |
Thu, 8 Jul 2021 12:02:35 +0100 |
On Wed, Jul 07, 2021 at 06:58:11PM +0200, Emanuele Giuseppe Esposito wrote:
> - /** AioContext to run the job coroutine in */
> + /**
> + * AioContext to run the job coroutine in.
> + * Atomic.
> + */
> AioContext *aio_context;
This isn't accessed using atomic operations, so I'm not sure why it's
documented as atomic?
signature.asc
Description: PGP signature
- [RFC PATCH 3/6] job: minor changes to simplify locking, (continued)
- [RFC PATCH 1/6] job: use getter/setters instead of accessing the Job fields directly, Emanuele Giuseppe Esposito, 2021/07/07
- [RFC PATCH 4/6] job.h: categorize job fields, Emanuele Giuseppe Esposito, 2021/07/07
- Re: [RFC PATCH 4/6] job.h: categorize job fields,
Stefan Hajnoczi <=
- [RFC PATCH 5/6] job: use global job_mutex to protect struct Job, Emanuele Giuseppe Esposito, 2021/07/07
- [RFC PATCH 6/6] jobs: remove unnecessary AioContext aquire/release pairs, Emanuele Giuseppe Esposito, 2021/07/07
- Re: [RFC PATCH 0/6] job: replace AioContext lock with job_mutex, Stefan Hajnoczi, 2021/07/08