diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2004-08-13 02:41:34 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2004-08-13 02:41:34 +0000 |
| commit | 4286789a65f3b8005434a4e8feee89a787643e76 (patch) | |
| tree | f9923d04dc02415b180d84d73a0c324d5479f6de /src/include/ChangeLog | |
| parent | 1e75280b15cfe2081c2feba52deba1e17b208380 (diff) | |
| download | krb5-4286789a65f3b8005434a4e8feee89a787643e76.tar.gz krb5-4286789a65f3b8005434a4e8feee89a787643e76.tar.xz krb5-4286789a65f3b8005434a4e8feee89a787643e76.zip | |
* 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
Diffstat (limited to 'src/include/ChangeLog')
| -rw-r--r-- | src/include/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog index a659e1ce35..e3243df779 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,17 @@ +2004-08-12 Ken Raeburn <raeburn@mit.edu> + + * 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 <tlyu@mit.edu> * configure.in: Solaris getpwnam_r returns struct passwd*, not |
