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.
This commit is contained in:
Sebastian Wilhelmi
2000-11-28 12:56:57 +00:00
committed by Sebastian Wilhelmi
parent dd58473e07
commit fe0f325777
14 changed files with 287 additions and 122 deletions

View File

@@ -1,3 +1,13 @@
2000-11-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* 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.
2000-11-27 Havoc Pennington <hp@redhat.com>
* gthread.h: Add void in empty function arg list