Re: [PATCH v4 18/32] nbd/client-connection: use QEMU_LOCK_GUARD

2021-06-11 Thread Eric Blake
On Thu, Jun 10, 2021 at 01:07:48PM +0300, Vladimir Sementsov-Ogievskiy wrote: > We don't update connect_thread_func() to use QEMU_LOCK_GUARD, as it > will get more complex critical sections logic in further commit, where > QEMU_LOCK_GUARD doesn't help. > > Signed-off-by: Vladimir

[PATCH v4 18/32] nbd/client-connection: use QEMU_LOCK_GUARD

2021-06-10 Thread Vladimir Sementsov-Ogievskiy
We don't update connect_thread_func() to use QEMU_LOCK_GUARD, as it will get more complex critical sections logic in further commit, where QEMU_LOCK_GUARD doesn't help. Signed-off-by: Vladimir Sementsov-Ogievskiy --- nbd/client-connection.c | 99 +++-- 1 file