Re: [PATCH 05/43] esx: convert virMutex to GMutex

2020-04-14 Thread Rafael Fonseca
Pino, thank you for the review. Could you please take a look at patch #42 in this series? It's the one in which I had to add some explicit unlock calls, so it'd be good for someone who knows the code to review this part. On Tue, Apr 14, 2020 at 8:15 AM Pino Toscano wrote: > > On Friday, 10 April

Re: [PATCH 05/43] esx: convert virMutex to GMutex

2020-04-13 Thread Pino Toscano
On Friday, 10 April 2020 15:54:32 CEST Rafael Fonseca wrote: > @@ -346,11 +342,12 @@ esxStreamClose(virStreamPtr stream, bool finish) > { > int result = 0; > esxStreamPrivate *priv = stream->privateData; > +g_autoptr(GMutexLocker) locker = NULL; > > if (!priv) > retur

[PATCH 05/43] esx: convert virMutex to GMutex

2020-04-10 Thread Rafael Fonseca
Signed-off-by: Rafael Fonseca --- src/esx/esx_stream.c | 25 +++- src/esx/esx_vi.c | 68 +++- src/esx/esx_vi.h | 6 ++-- 3 files changed, 36 insertions(+), 63 deletions(-) diff --git a/src/esx/esx_stream.c b/src/esx/esx_stream.c index