On Tue, Feb 01, 2022 at 02:20:11PM +0100, Tim Wiederhake wrote: > Modeled after "WITH_QEMU_LOCK_GUARD" (see qemu's include/qemu/lockable.h). > > See comment for typical usage. > > Signed-off-by: Tim Wiederhake <twiederh@xxxxxxxxxx> > --- > src/util/virthread.h | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx> 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 :|