On Wed, Apr 20, 2022 at 05:26:22PM +0400, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau <marcandre.lur...@redhat.com> > > Since the introduction of guest-exec in/out/err redirections in commit > a1853dca74 ("qga: guest-exec simple stdin/stdout/stderr redirection"), > some execution state variables are handled with atomic ops. However, > there are no threads involved in this code (and glib sources are > dispatched in the same thread), and no other obvious reason to use them. > > Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> > --- > qga/commands.c | 12 +++++------- > 1 file changed, 5 insertions(+), 7 deletions(-)
Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|