qemu-e2k/include/qemu
Hanna Reitz 079bff693b transactions: Invoke clean() after everything else
Invoke the transaction drivers' .clean() methods only after all
.commit() or .abort() handlers are done.

This makes it easier to have nested transactions where the top-level
transactions pass objects to lower transactions that the latter can
still use throughout their commit/abort phases, while the top-level
transaction keeps a reference that is released in its .clean() method.

(Before this commit, that is also possible, but the top-level
transaction would need to take care to invoke tran_add() before the
lower-level transaction does.  This commit makes the ordering
irrelevant, which is just a bit nicer.)

Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20211111120829.81329-8-hreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20211115145409.176785-8-kwolf@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
2021-11-16 09:43:44 +01:00
..
accel.h
atomic128.h
atomic.h
base64.h
bcd.h
bitmap.h
bitops.h
bswap.h
buffer.h
cacheflush.h
co-shared-resource.h
compiler.h
config-file.h
coroutine_int.h
coroutine.h
cpuid.h
crc32c.h
crc-ccitt.h
ctype.h
cutils.h
datadir.h
dbus.h
drm.h
envlist.h
error-report.h
event_notifier.h
fifo8.h
fifo32.h
filemonitor.h
futex.h
guest-random.h
hbitmap.h
help_option.h
host-utils.h host-utils: Introduce mulu128 2021-11-09 10:32:52 +11:00
id.h
int128.h
iov.h
iova-tree.h
jhash.h
job.h
lockable.h
log-for-trace.h
log.h
main-loop.h
memfd.h
mmap-alloc.h
module.h
notify.h
nvdimm-utils.h
option_int.h
option.h
osdep.h
path.h
plugin-memory.h
plugin.h
pmem.h
processor.h
progress_meter.h
qdist.h
qemu-options.h
qemu-plugin.h
qemu-print.h
qht.h
qsp.h
queue.h
range.h
ratelimit.h
rcu_queue.h
rcu.h rcu: Introduce force_rcu notifier 2021-11-10 13:20:15 +01:00
readline.h
selfmap.h
seqlock.h
sockets.h
stats64.h
sys_membarrier.h
systemd.h
thread-posix.h
thread-win32.h
thread.h
throttle-options.h
throttle.h
timed-average.h
timer.h
transactions.h transactions: Invoke clean() after everything else 2021-11-16 09:43:44 +01:00
tsan.h
typedefs.h
unicode.h
units.h
uri.h
userfaultfd.h
uuid.h
vfio-helpers.h
vhost-user-server.h
win_dump_defs.h
xattr.h
xxhash.h
yank.h