summaryrefslogtreecommitdiffstats
path: root/src/plugins/kdb/db2/ChangeLog
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2006-01-25 08:05:24 +0000
committerKen Raeburn <raeburn@mit.edu>2006-01-25 08:05:24 +0000
commit210bd523f6351fa35d510f08ff5044e4c27fe363 (patch)
treee79d0f23f9970bec1c26638f5516dfd60081e9ef /src/plugins/kdb/db2/ChangeLog
parent724f3548131de9bb4c77f054262a854b2746c0e6 (diff)
downloadkrb5-210bd523f6351fa35d510f08ff5044e4c27fe363.tar.gz
krb5-210bd523f6351fa35d510f08ff5044e4c27fe363.tar.xz
krb5-210bd523f6351fa35d510f08ff5044e4c27fe363.zip
Remove the thread-safety flag from the kdb plugin interface. Instead,
have the kdb code assume the plugin is thread safe, and implement some quick and dirty wrapper functions in the db2 plugin to make it use a local mutex. There's still some mutex code in the kdb library that should be reviewed, and simplified or removed. ticket: 3416 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17611 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/plugins/kdb/db2/ChangeLog')
-rw-r--r--src/plugins/kdb/db2/ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/plugins/kdb/db2/ChangeLog b/src/plugins/kdb/db2/ChangeLog
index e88e25d732..c6461f9ad8 100644
--- a/src/plugins/kdb/db2/ChangeLog
+++ b/src/plugins/kdb/db2/ChangeLog
@@ -1,3 +1,17 @@
+2006-01-25 Ken Raeburn <raeburn@mit.edu>
+
+ * Makefile.in (DEFINES): New variable; define macro PLUGIN.
+ * db2_exp.c (krb5_db2_mutex): New variable.
+ (wrap_*): Lots of new functions; lock the mutex, call the real
+ function, unlock the mutex.
+ (WRAP, WRAP_K, WRAP_VOID): Quick and dirty macros for implementing
+ the above.
+ (hack_init, hack_cleanup): New functions. Call the regular init
+ or cleanup function, but also deal with the new mutex.
+ (krb5_db_vftabl_db2): Use the hack/wrap functions.
+
+ * kdb_db2.h (krb5_db2_get_policy): Delete duplicate declaration.
+
2005-12-16 Ken Raeburn <raeburn@mit.edu>
* Makefile.in (myfulldir, RELDIR): Updated for directory rename.