diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2004-07-01 01:22:47 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2004-07-01 01:22:47 +0000 |
| commit | 005a5f45a7663d311192d69afe719f1c7765b4d9 (patch) | |
| tree | 35c706f76163a9d241140eab7961ac15ab3eade9 /src/include/ChangeLog | |
| parent | 4391b68b20f2e4f16368bd570fe3837f2ff6aecb (diff) | |
| download | krb5-005a5f45a7663d311192d69afe719f1c7765b4d9.tar.gz krb5-005a5f45a7663d311192d69afe719f1c7765b4d9.tar.xz krb5-005a5f45a7663d311192d69afe719f1c7765b4d9.zip | |
* 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
Diffstat (limited to 'src/include/ChangeLog')
| -rw-r--r-- | src/include/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog index b19e00342..cf201aa71 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -4,6 +4,15 @@ New macros. (k5_assert_locked, k5_assert_unlocked): New macros, may or may not call the debug macros. + (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. 2004-06-25 Ken Raeburn <raeburn@mit.edu> |
