Il 08/10/2013 14:25, Kevin Wolf ha scritto: > The glib documentation says: > > Since version 2.24, calling g_thread_init() multiple times is > allowed, but nothing happens except for the first call. > > I take that this means previously it wasn't allowed. qemu's configure > checks for a minimum version of 2.12, so we seems to support glib > versions that don't allow g_thread_init() to be called multiple times. > > Do we need to protect against this?
I think that's the point of the "if (!g_thread_supported ())" tests. Paolo