On Tue, Apr 29, 2014 at 10:02:24AM +0400, Michael Tokarev wrote: > glib >= 2.31 always enables thread support and g_thread_supported() > is #defined to 1, there's no need to call g_thread_init() anymore, > and it definitely does not need to report error which never happens. > Keep code for old < 2.31 glibc anyway for now, just #ifdef it > differently. > > Signed-off-by: Michael Tokarev <m...@tls.msk.ru> > --- > coroutine-gthread.c | 7 ++----- > util/osdep.c | 21 +++++++++------------ > 2 files changed, 11 insertions(+), 17 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>