diff options
| author | Jan Kiszka | 2013-07-02 11:36:39 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2013-07-04 17:42:49 +0200 |
| commit | f08c03f3c404e85a2b81890191ccb48dc1ecc157 (patch) | |
| tree | d5434b5d7304f9da641af763db654d032fa500b3 /include/exec | |
| parent | memory: add reference counting to FlatView (diff) | |
| download | qemu-f08c03f3c404e85a2b81890191ccb48dc1ecc157.tar.gz qemu-f08c03f3c404e85a2b81890191ccb48dc1ecc157.tar.xz qemu-f08c03f3c404e85a2b81890191ccb48dc1ecc157.zip | |
qom: Use atomics for object refcounting
Object reference counts will soon be changed outside the BQL. So we need
to use atomics in object_ref/unref.
Based on a patch by Liu Ping Fan.
Signed-off-by: Liu Ping Fan <qemulist@gmail.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
