[krbdev.mit.edu #3084] CVS Commit
Ken Raeburn via RT
rt-comment at krbdev.mit.edu
Tue May 31 20:56:06 EDT 2005
Add run-time determination of whether thread support is available in the
support library. Check lots of weak references, and call pthread_once a couple
of times, to distinguish a broken stub from the real thing.
* threads.c [HAVE_PRAGMA_WEAK_REF]: Declare pthread_{g,s}etspecific,
pthread_key_{create,delete}, pthread_{create,join} as weak references.
(krb5int_pthread_loaded, loaded_test_aux) [HAVE_PRAGMA_WEAK_REF]: New
functions.
(flag_pthread_loaded, loaded_test_once) [HAVE_PRAGMA_WEAK_REF]: New variables.
* libkrb5support.exports: Add krb5int_pthread_loaded.
To generate a diff of this commit:
cvs diff -r1.32 -r1.33 krb5/src/util/support/ChangeLog
cvs diff -r1.6 -r1.7 krb5/src/util/support/libkrb5support.exports
cvs diff -r1.19 -r1.20 krb5/src/util/support/threads.c
More information about the krb5-bugs
mailing list