unicorn/qemu/include/qom
Paolo Bonzini 9d64a89acf
tcg: comment on which functions have to be called with tb_lock held
softmmu requires more functions to be thread-safe, because translation
blocks can be invalidated from e.g. notdirty callbacks. Probably the
same holds for user-mode emulation, it's just that no one has ever
tried to produce a coherent locking there.

This patch will guide the introduction of more tb_lock and tb_unlock
calls for system emulation.

Note that after this patch some (most) of the mentioned functions are
still called outside tb_lock/tb_unlock. The next one will rectify this.

Backports commit 7d7500d99895f888f97397ef32bb536bb0df3b74 from qemu
2018-02-28 10:26:28 -05:00
..
cpu.h tcg: comment on which functions have to be called with tb_lock held 2018-02-28 10:26:28 -05:00
object.h qom: Fix comment typo 2018-02-25 00:46:15 -05:00
qom-qobject.h import 2015-08-21 15:04:50 +08:00