* k5-thread.h (K5_MUTEX_DEBUG_INITIALIZER): Use current file and line.
authorKen Raeburn <raeburn@mit.edu>
Thu, 1 Jul 2004 01:22:47 +0000 (01:22 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 1 Jul 2004 01:22:47 +0000 (01:22 +0000)
commit005a5f45a7663d311192d69afe719f1c7765b4d9
tree35c706f76163a9d241140eab7961ac15ab3eade9
parent4391b68b20f2e4f16368bd570fe3837f2ff6aecb
* k5-thread.h (K5_MUTEX_DEBUG_INITIALIZER): Use current file and line.
(k5_mutex_debug_finish_init, k5_mutex_debug_init, k5_mutex_debug_destroy): Save
current file and line.
(k5_mutex_debug_lock): Verify that the lock was unlocked before, and set the
state to locked.
(k5_mutex_debug_unlock): Verify that the mutex was locked before, and set the
state to unlocked.
(k5_debug_assert_locked, k5_debug_assert_unlocked): Use
k5_mutex_debug_check_init instead of checking initialized==1.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16535 dc483132-0cff-0310-8789-dd5450dbe970
src/include/ChangeLog
src/include/k5-thread.h