]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
libcacard: replace qemu thread primitives with glib ones
authorMichael Tokarev <mjt@tls.msk.ru>
Thu, 8 May 2014 08:30:48 +0000 (12:30 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Jun 2014 05:44:01 +0000 (07:44 +0200)
commitfd25c0e6dd1ed2aa932fa7ef814b32457bf270fd
treec01e33393dd59d144ad7c0dbe0ad286773b689c6
parent2a0c46da967e5dc8cfe73b1b6fe7a1600c04f461
libcacard: replace qemu thread primitives with glib ones

Replace QemuMutex with GMutex and QemuCond with GCond
(with corresponding function changes), to make libcacard
independent of qemu internal functions.

After this step, none of libcacard internals use any
qemu-provided symbols.  Maybe it's a good idea to
stop including qemu-common.h internally too.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Alon Levy <alevy@redhat.com>
Tested-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
libcacard/Makefile
libcacard/event.c
libcacard/vreader.c