summaryrefslogtreecommitdiffstats
path: root/src/kadmin/testing
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2002-12-21 04:28:06 +0000
committerKen Raeburn <raeburn@mit.edu>2002-12-21 04:28:06 +0000
commitbc38f344018bfa66182dd58401c4ed83a4fbd6e6 (patch)
tree885154a33be98eb20778c64ba8a421917dec7182 /src/kadmin/testing
parent7c28091d5daeb6431e6e76aeeca9ba1d33665d66 (diff)
downloadkrb5-bc38f344018bfa66182dd58401c4ed83a4fbd6e6.tar.gz
krb5-bc38f344018bfa66182dd58401c4ed83a4fbd6e6.tar.xz
krb5-bc38f344018bfa66182dd58401c4ed83a4fbd6e6.zip
* prof_int.h: Define USE_PTHREADS and include pthread.h if on MacOS X.
(struct global_shared_profile_data) [USE_PTHREADS]: Add a mutex. (g_shared_trees_mutex) [USE_PTHREADS]: New macro, references the global mutex. (prof_mutex_lock, prof_mutex_unlock) [SHARE_TREE_DATA]: Define to use pthread functions or do nothing. (profile_free_file_data): Delete declaration. (profile_dereference_data): Declare. * prof_file.c (profile_free_file_data): Now static. (profile_open_file, profile_dereference_data) [SHARE_TREE_DATA]: Grab lock while manipulating global data list or its contents. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15061 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin/testing')
0 files changed, 0 insertions, 0 deletions