Re: [PATCH v5 5/7] io/channel-tls.c: make qio_channel_tls_shutdown thread-safe

2020-07-28 Thread Daniel P . Berrangé
On Tue, Jun 23, 2020 at 04:42:56PM +0200, Lukas Straub wrote: > Make qio_channel_tls_shutdown thread-safe by using atomics when > accessing tioc->shutdown. > > Signed-off-by: Lukas Straub > --- > io/channel-tls.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) Reviewed-by: Daniel

[PATCH v5 5/7] io/channel-tls.c: make qio_channel_tls_shutdown thread-safe

2020-06-23 Thread Lukas Straub
Make qio_channel_tls_shutdown thread-safe by using atomics when accessing tioc->shutdown. Signed-off-by: Lukas Straub --- io/channel-tls.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/io/channel-tls.c b/io/channel-tls.c index 7ec8ceff2f..b350c84640 100644 --- a/io/ch