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/lib | |
| parent | 1e75280b15cfe2081c2feba52deba1e17b208380 (diff) | |
* 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/lib')
0 files changed, 0 insertions, 0 deletions
