From cbaaa4006e33c8f3ad854024aa72d6d78995d926 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 6 Mar 2007 19:44:19 +0000 Subject: [PATCH] Document errorchecking mutexes svn path=/trunk/; revision=5381 --- docs/reference/ChangeLog | 2 ++ docs/reference/glib/tmpl/threads.sgml | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 25f46bd..a81fc48 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,5 +1,7 @@ 2007-03-06 Matthias Clasen + * glib/tmpl/threads.sgml: Document G_ERRORCHECK_MUTEXES. (#412145) + * glib/tmpl/trees-nary.sgml: Fix a typo in the docs for g_node_first_child(). (#409395, Vincent Untz) diff --git a/docs/reference/glib/tmpl/threads.sgml b/docs/reference/glib/tmpl/threads.sgml index aec38a4..19a015d 100644 --- a/docs/reference/glib/tmpl/threads.sgml +++ b/docs/reference/glib/tmpl/threads.sgml @@ -44,6 +44,13 @@ which are threadsafe and needs no further application-level locking to be accessed from multiple threads. + +To help debugging problems in multithreaded applications, GLib supports +error-checking mutexes that will give you helpful error messages on +common problems. To use error-checking mutexes, define the symbol +#G_ERRORCHECK_MUTEXES when compiling the application. + + -- 2.7.4