On a Wednesday in 2021, Tim Wiederhake wrote:
Modeled after "WITH_QEMU_LOCK_GUARD" (see qemu's include/qemu/lockable.h).
Uses "__LINE__" instead of "__COUNTER__", as the latter is a GNU extension.
We mandate gnu99 in meson.build. But it seems both would work.
See comment for typical usage.
Modeled after "WITH_QEMU_LOCK_GUARD" (see qemu's include/qemu/lockable.h).
Uses "__LINE__" instead of "__COUNTER__", as the latter is a GNU extension.
See comment for typical usage.
Signed-off-by: Tim Wiederhake
---
src/util/virthread.h | 20
1 file changed, 20 insertions(+