]> git.proxmox.com Git - mirror_qemu.git/commit
coroutine-gthread.c: Avoid threading APIs deprecated in GLib 2.31
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 3 Mar 2012 04:52:56 +0000 (04:52 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 14 Apr 2012 10:59:14 +0000 (10:59 +0000)
commitd1b719e98ce8b506d122a845d405f941a7a497c1
tree397a589d1fa39c85eaec2e44acfe73453bf9ce22
parent044c62aaf223b3b5a8eae4f5f79b210a65501e23
coroutine-gthread.c: Avoid threading APIs deprecated in GLib 2.31

The GLib threading APIs were revamped in GLib 2.31 and a number
of the old interfaces were deprecated, which means they provoke
compilation warnings (errors if -Werror) now. Add support for the
new interfaces while retaining the old ones so we can still compile
on older versions of GLib too.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
coroutine-gthread.c