diff options
author | Ken Raeburn <raeburn@mit.edu> | 2005-01-14 03:19:39 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2005-01-14 03:19:39 +0000 |
commit | 602762b2c03110a436f1d7714b278f615b81d592 (patch) | |
tree | 9f2497d323c4395a1aa6d29c6010ee5ab148747b /src/ChangeLog | |
parent | dbe99f9b8db7711cba4a00aff55046a201f16ddb (diff) | |
download | krb5-602762b2c03110a436f1d7714b278f615b81d592.tar.gz krb5-602762b2c03110a436f1d7714b278f615b81d592.tar.xz krb5-602762b2c03110a436f1d7714b278f615b81d592.zip |
More paranoid checking...
* k5-thread.h (k5_os_mutex) [pthread case]: Add new field "owner" if
DEBUG_THREADS.
(k5_pthread_mutex_lock, k5_pthread_mutex_unlock, k5_pthread_assert_locked): New
macros/functions; if DEBUG_THREADS, set or check the owner field.
(K5_OS_MUTEX_PARTIAL_INITIALIZER) [pthread case && DEBUG_THREADS]: Set the
owner field. If PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP is defined, use it.
(k5_os_mutex_lock, k5_os_mutex_unlock, k5_os_mutex_assert_locked) [pthread
case]: Use k5_pthread_ versions.
(k5_mutex_destroy): Update the location data with the mutex locked, before
destroying it.
(k5_mutex_unlock): Update the location data while the mutex is still locked,
and check the assertion that the mutex really is locked. Convert inline
function to macro.
* k5-thread.h (krb5int_mutex_lock_update_stats,
krb5int_mutex_unlock_update_stats, krb5int_mutex_report_stats)
[!DEBUG_THREADS_STATS]: Declare KRB5_CALLCONV.
ticket: 2878
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17031 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ChangeLog')
0 files changed, 0 insertions, 0 deletions