diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2004-06-21 20:58:34 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2004-06-21 20:58:34 +0000 |
| commit | e1e8f5ec6464eb07d0506697c5a13d80878dd671 (patch) | |
| tree | 5adc209c74ce97db752bc4bb074a2e23b5e3d08e /src/util/support/ChangeLog | |
| parent | da333c051dd1b039185d3fe0315cc33e90644767 (diff) | |
| download | krb5-e1e8f5ec6464eb07d0506697c5a13d80878dd671.tar.gz krb5-e1e8f5ec6464eb07d0506697c5a13d80878dd671.tar.xz krb5-e1e8f5ec6464eb07d0506697c5a13d80878dd671.zip | |
* threads.c (key_lock): Change to a k5_mutex_t.
(k5_key_register): Use k5_ lock routines.
(pthread_getspecific, pthread_setspecific, pthread_key_create,
pthread_key_delete) [HAVE_PRAGMA_WEAK_REF]: Declare weak.
(tsd_if_single) [HAVE_PRAGMA_WEAK_REF]: New variable.
(krb5int_thread_support_init): Do pthread key creation only if pthread code is
loaded.
(krb5int_thread_support_fini): Do pthread key deletion only if pthread code is
loaded.
(k5_key_register, k5_getspecific, k5_setspecific): Use tsd_if_single when
pthread code is not loaded.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16502 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/support/ChangeLog')
| -rw-r--r-- | src/util/support/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/util/support/ChangeLog b/src/util/support/ChangeLog index 15d2eff1a..b8ef14bcb 100644 --- a/src/util/support/ChangeLog +++ b/src/util/support/ChangeLog @@ -1,3 +1,17 @@ +2004-06-21 Ken Raeburn <raeburn@mit.edu> + + * threads.c (key_lock): Change to a k5_mutex_t. + (k5_key_register): Use k5_ lock routines. + (pthread_getspecific, pthread_setspecific, pthread_key_create, + pthread_key_delete) [HAVE_PRAGMA_WEAK_REF]: Declare weak. + (tsd_if_single) [HAVE_PRAGMA_WEAK_REF]: New variable. + (krb5int_thread_support_init): Do pthread key creation only if + pthread code is loaded. + (krb5int_thread_support_fini): Do pthread key deletion only if + pthread code is loaded. + (k5_key_register, k5_getspecific, k5_setspecific): Use + tsd_if_single when pthread code is not loaded. + 2004-06-17 Ken Raeburn <raeburn@mit.edu> * Makefile.in (BUILDTOP, LIBNAME, XTRA, OBJFILE): Define for |
