diff options
| author | Emanuele Giuseppe Esposito <eesposit@redhat.com> | 2022-12-07 14:18:23 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2022-12-15 16:07:43 +0100 |
| commit | 8aa77000c2ba8c234f72b9b4162529d02ea00188 (patch) | |
| tree | f76f76d8c90ad3ffe7b8734606930058a8cf6dc8 /util/async.c | |
| parent | aead9dc9d1acc5876951885c064ec4153fbd0ed8 (diff) | |
| download | focaccia-qemu-8aa77000c2ba8c234f72b9b4162529d02ea00188.tar.gz focaccia-qemu-8aa77000c2ba8c234f72b9b4162529d02ea00188.zip | |
graph-lock: Implement guard macros
Similar to the implementation in lockable.h, implement macros to automatically take and release the rdlock. Create the empty GraphLockable and GraphLockableMainloop structs only to use it as a type for G_DEFINE_AUTOPTR_CLEANUP_FUNC. Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20221207131838.239125-4-kwolf@redhat.com> Reviewed-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'util/async.c')
0 files changed, 0 insertions, 0 deletions