Module Name: krb5 Committed By: raeburn Date: Sat May 1 01:29:45 UTC 2004 Modified Files: krb5/src/include/ChangeLog krb5/src/include/k5-thread.h Added Files: Removed Files: Log Message Update mutex debug code to be somewhat compatible with multi-threaded execution. It won't be as useful in single-threaded programs for detecting bugs in the mutex handling for now, though. * k5-thread.h (k5_mutex_debug_check_init, k5_mutex_debug_update_loc): New macros. (k5_mutex_debug_lock, k5_mutex_debug_unlock): Use them. (k5_mutex_lock, k5_mutex_unlock) [ENABLE_THREADS && DEBUG_THREADS]: Use them instead of k5_mutex_debug_lock and k5_mutex_debug_unlock. (enum k5_mutex_debug_states): New enum. (K5_MUTEX_DEBUG_LOCKED, K5_MUTEX_DEBUG_UNLOCKED): Change to enumerator values. (k5_mutex_debug_info): Use the enum type. Reorder fields. (K5_MUTEX_DEBUG_INITIALIZER): Update for new field order. To generate a diff of this commit: cvs diff -r1.413 -r1.414 krb5/src/include/ChangeLog cvs diff -r1.3 -r1.4 krb5/src/include/k5-thread.h