diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-10-14 16:55:01 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-11-02 12:43:04 +0100 |
commit | 7466bc49107fbd84336ba680f860d5eadd6def13 (patch) | |
tree | 6a7e88bdde95c3d981c825c5e8f971c86e1aa5aa /ui/spice-display.h | |
parent | f61d69607d58a81944a4bfcfc1f260d09a686460 (diff) | |
download | qemu-7466bc49107fbd84336ba680f860d5eadd6def13.zip qemu-7466bc49107fbd84336ba680f860d5eadd6def13.tar.gz qemu-7466bc49107fbd84336ba680f860d5eadd6def13.tar.bz2 |
spice-display: replace private lock with qemu mutex.
qemu_spice_create_update() must aquire the global qemu mutex to
make sure DisplayState doesn't change while we are accessing it.
Once this is in place the private lock is pretty pointless as
everything it protects is covered by the global qemu mutex now.
Drop it.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/spice-display.h')
-rw-r--r-- | ui/spice-display.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/spice-display.h b/ui/spice-display.h index e17671c..aef0464 100644 --- a/ui/spice-display.h +++ b/ui/spice-display.h @@ -40,7 +40,6 @@ typedef struct SimpleSpiceDisplay { uint32_t unique; QemuPfConv *conv; - pthread_mutex_t lock; QXLRect dirty; int notify; int running; |