Skip to content
  • Sebastian Wilhelmi's avatar
    Revamped errorcheck mutexes and added errorcheck cond_wait() and · fe0f3257
    Sebastian Wilhelmi authored
    
    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.
    fe0f3257