[gtk-vnc] src: remove use of obsolete thread APIs
- From: Daniel P. Berrange <dberrange src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-vnc] src: remove use of obsolete thread APIs
- Date: Fri, 8 Jan 2021 15:22:01 +0000 (UTC)
commit c7942ba5499a0d51c7dc5486f5cde157511c97dd
Author: Daniel P. Berrangé <dan berrange com>
Date: Thu Jan 7 13:06:02 2021 +0000
src: remove use of obsolete thread APIs
Threading is always initialized from glib 2.32 onwards
Signed-off-by: Daniel P. Berrangé <berrange redhat com>
src/coroutine_gthread.c | 6 ------
1 file changed, 6 deletions(-)
---
diff --git a/src/coroutine_gthread.c b/src/coroutine_gthread.c
index 2fe56ba..e94023c 100644
--- a/src/coroutine_gthread.c
+++ b/src/coroutine_gthread.c
@@ -37,12 +37,6 @@ static struct coroutine leader;
static void coroutine_system_init(void)
{
- if (!g_thread_supported()) {
- CO_DEBUG("INIT");
- g_thread_init(NULL);
- }
-
-
run_cond = g_cond_new();
run_lock = g_mutex_new();
CO_DEBUG("LOCK");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]