From 4286789a65f3b8005434a4e8feee89a787643e76 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 13 Aug 2004 02:41:34 +0000 Subject: * k5-thread.h (k5_os_nothread_mutex_finish_init, k5_os_nothread_mutex_init, k5_os_nothread_mutex_destroy, k5_os_nothread_mutex_lock, k5_os_nothread_mutex_unlock) [!DEBUG_THREADS]: Replace macros with inline functions, to gain type checking and eliminate gratuitous compiler warnings. (k5_pthread_assert_unlocked, k5_pthread_assert_locked): Likewise. (k5_os_mutex_finish_init) [HAVE_PTHREAD && !USE_PTHREAD_LOCK_ONLY_IF_LOADED]: Likewise. (return_after_yield): New inline function. (k5_os_mutex_lock) [HAVE_PTHREAD]: Change back to a macro, calling return_after_yield. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16661 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/include/ChangeLog') diff --git a/src/include/ChangeLog b/src/include/ChangeLog index a659e1ce3..e3243df77 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,17 @@ +2004-08-12 Ken Raeburn + + * k5-thread.h (k5_os_nothread_mutex_finish_init, + k5_os_nothread_mutex_init, k5_os_nothread_mutex_destroy, + k5_os_nothread_mutex_lock, k5_os_nothread_mutex_unlock) + [!DEBUG_THREADS]: Replace macros with inline functions, to gain + type checking and eliminate gratuitous compiler warnings. + (k5_pthread_assert_unlocked, k5_pthread_assert_locked): Likewise. + (k5_os_mutex_finish_init) [HAVE_PTHREAD && + !USE_PTHREAD_LOCK_ONLY_IF_LOADED]: Likewise. + (return_after_yield): New inline function. + (k5_os_mutex_lock) [HAVE_PTHREAD]: Change back to a macro, + calling return_after_yield. + 2004-08-09 Tom Yu * configure.in: Solaris getpwnam_r returns struct passwd*, not -- cgit