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/mac/MacOSX/Scripts | |
| 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/mac/MacOSX/Scripts')
0 files changed, 0 insertions, 0 deletions
