Revamped errorcheck mutexes and added errorcheck cond_wait() and
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Tue, 28 Nov 2000 12:56:57 +0000 (12:56 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Tue, 28 Nov 2000 12:56:57 +0000 (12:56 +0000)
commitfe0f325777257b9266955bc4e091c9deea327a39
tree7d06191fd5e1004f8432109669aa7dfd8c62acd9
parentdd58473e07451eb62ab62d9723597fc12a071349
Revamped errorcheck mutexes and added errorcheck cond_wait() and

2000-11-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* gthread-impl.c: Revamped errorcheck mutexes and added errorcheck
cond_wait() and cond_timed_wait() funtions. This makes he whole
thing work. Now we only show the location of the locking/unlocking
for -DG_ERRORCHECK_MUTEXES and not the name of the mutex.

* gthread.c: Set the thread data before locking the mutex, because
the locking call might use g_thread_self ().

* gthread.h: Do only show the location of the locking/unlocking
for -DG_ERRORCHECK_MUTEXES and not the name of the mutex. Add the
errorcheck capability for g_cond_wait and g_cond_timed_wait as
well.
14 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gthread.c
glib/gthread.h
gthread.c
gthread.h
gthread/ChangeLog
gthread/gthread-impl.c