diff options
author | Emanuele Giuseppe Esposito | 2021-06-14 10:11:30 +0200 |
---|---|---|
committer | Vladimir Sementsov-Ogievskiy | 2021-06-25 13:24:24 +0200 |
commit | 55fa54a789f6e66fe9e7997429667e3e8917ffb9 (patch) | |
tree | 6d9d0e779bb5b5f885ea0ddfc0028049866d1a8a /util/getauxval.c | |
parent | progressmeter: protect with a mutex (diff) | |
download | qemu-55fa54a789f6e66fe9e7997429667e3e8917ffb9.tar.gz qemu-55fa54a789f6e66fe9e7997429667e3e8917ffb9.tar.xz qemu-55fa54a789f6e66fe9e7997429667e3e8917ffb9.zip |
co-shared-resource: protect with a mutex
co-shared-resource is currently not thread-safe, as also reported
in co-shared-resource.h. Add a QemuMutex because co_try_get_from_shres
can also be invoked from non-coroutine context.
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Message-Id: <20210614081130.22134-6-eesposit@redhat.com>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to 'util/getauxval.c')
0 files changed, 0 insertions, 0 deletions