aboutsummaryrefslogtreecommitdiff
path: root/include/hw/net
diff options
context:
space:
mode:
authorEmanuele Giuseppe Esposito <eesposit@redhat.com>2022-12-07 14:18:23 +0100
committerKevin Wolf <kwolf@redhat.com>2022-12-15 16:07:43 +0100
commit8aa77000c2ba8c234f72b9b4162529d02ea00188 (patch)
treef76f76d8c90ad3ffe7b8734606930058a8cf6dc8 /include/hw/net
parentaead9dc9d1acc5876951885c064ec4153fbd0ed8 (diff)
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 'include/hw/net')
0 files changed, 0 insertions, 0 deletions