aboutsummaryrefslogtreecommitdiff
path: root/ui/sdl2-input.c
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2019-05-06 17:27:39 +0300
committerMax Reitz <mreitz@redhat.com>2019-05-28 20:30:55 +0200
commitf24196d388ec781ce3ae99c1fb78ba9755785f91 (patch)
tree040436e09bc92779e9ea2c5dccd001b81a6ecdaf /ui/sdl2-input.c
parent6f13a316dd3a6916de4733e56585127445b19458 (diff)
qcow2: qcow2_co_preadv: improve locking
Background: decryption will be done in threads, to take benefit of it, we should move it out of the lock first. But let's go further: it turns out, that only qcow2_get_cluster_offset() needs locking, so reduce locking to it. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-id: 20190506142741.41731-7-vsementsov@virtuozzo.com Reviewed-by: Alberto Garcia <berto@igalia.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'ui/sdl2-input.c')
0 files changed, 0 insertions, 0 deletions