diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2006-01-25 10:48:29 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2006-01-25 10:48:29 +0000 |
| commit | de2ccfb88bc93eb27a819d8914773b053ab2580d (patch) | |
| tree | 2132d38b98d748c57be6b933def3bcedaef9edea /src/lib/kdb/ChangeLog | |
| parent | 210bd523f6351fa35d510f08ff5044e4c27fe363 (diff) | |
| download | krb5-de2ccfb88bc93eb27a819d8914773b053ab2580d.tar.gz krb5-de2ccfb88bc93eb27a819d8914773b053ab2580d.tar.xz krb5-de2ccfb88bc93eb27a819d8914773b053ab2580d.zip | |
Delete the rest of the support in the kdb library for doing locking on
behalf of the plugin library. Convert the remaining locking code (for
protecting the list of plugins loaded) to use the k5_ macros.
ticket: 3416
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17612 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/kdb/ChangeLog')
| -rw-r--r-- | src/lib/kdb/ChangeLog | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/lib/kdb/ChangeLog b/src/lib/kdb/ChangeLog index b6677ffee..b1099aa24 100644 --- a/src/lib/kdb/ChangeLog +++ b/src/lib/kdb/ChangeLog @@ -1,11 +1,15 @@ 2006-01-25 Ken Raeburn <raeburn@mit.edu> - * kdb5.h (struct _db_library): Delete unlocked and lock_holder - fields. + * kdb5.h (struct _db_library): Delete all lock-related fields. (struct _kdb_vftabl): Delete is_thread_safe field. * kdb5.c (kdb_init_lib_lock, kdb_destroy_lib_lock, - kdb_lock_lib_lock, kdb_unlock_lib_lock): Delete references. - Assume the plugin is always thread-safe. + kdb_lock_lib_lock, kdb_unlock_lib_lock): Make no-ops always. + + * kdb5.c (db_lock, kdb_lock_list, kdb_unlock_list): Use the + k5_mutex interfaces. + (kdb_init_lock_list, kdb_fini_lock_list): New functions; + initialize and destroy the mutex. Mark as init/fini functions. + * Makefile.in (LIBINITFUNC, LIBFINIFUNC): New variables. 2005-12-02 Ken Raeburn <raeburn@mit.edu> |
