[glib] Add a warning to g_thread_init_with_errorcheck_mutexes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Add a warning to g_thread_init_with_errorcheck_mutexes
- Date: Thu, 6 Oct 2011 02:24:42 +0000 (UTC)
commit 749758ec78b84ca577947fecca0ea54b790fd529
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Oct 5 22:23:25 2011 -0400
Add a warning to g_thread_init_with_errorcheck_mutexes
Should anybody try to use this, we should at least tell them that
its gone.
gthread/gthread-impl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gthread/gthread-impl.c b/gthread/gthread-impl.c
index 82ef3a1..b0480ea 100644
--- a/gthread/gthread-impl.c
+++ b/gthread/gthread-impl.c
@@ -44,4 +44,5 @@ void
g_thread_init_with_errorcheck_mutexes (gpointer vtable)
{
g_assert (vtable == NULL);
+ g_warning ("GThread system no longer supports errorcheck mutexes.");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]