diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2004-08-16 01:27:41 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2004-08-16 01:27:41 +0000 |
| commit | 36e3764577f43c41a7fee3022172fc464fcbf902 (patch) | |
| tree | 14301353c13dbdab1fdac2bcfb169843629c23a6 /src/include | |
| parent | 10b8410a6e9564e76aeb7b178b0c941faaa0f7f9 (diff) | |
| download | krb5-36e3764577f43c41a7fee3022172fc464fcbf902.tar.gz krb5-36e3764577f43c41a7fee3022172fc464fcbf902.tar.xz krb5-36e3764577f43c41a7fee3022172fc464fcbf902.zip | |
* cc_file.c (struct _krb5_fcc_data): Add new mutex disk_file_lock and flag
file_is_locked.
(krb5_fcc_close_file): Unlock the mutex and clear the flag.
(krb5_fcc_open_file): Acquire the mutex before locking the file, and set the
flag after.
(krb5_fcc_resolve): Initialize the new mutex and flag.
(krb5_fcc_generate_new): Initialize both mutexes and the flag.
(dereference): Destroy the new mutex.
Also, get rid of some unused variables.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16667 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions
