Add a mutex to protect the set manipulations
authorKen Raeburn <raeburn@mit.edu>
Sun, 14 Mar 2004 07:08:40 +0000 (07:08 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sun, 14 Mar 2004 07:08:40 +0000 (07:08 +0000)
commit6c80f7f9c5c504a9494e93be014e994f5a0ce14e
tree73f50f7ed76477ea64b68f6c5de05a3bff3b48cd
parentbd213527dab6a355867a95c104352fa101a9d2e8
Add a mutex to protect the set manipulations

* gssapiP_generic.h: Include k5-thread.h.
(g_set): Add a mutex.
(G_SET_INIT): Initialize it.
* util_validate.c (g_save, g_validate, g_delete): Lock the mutex while working
on the set.  (BDB version untested.)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16167 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/generic/ChangeLog
src/lib/gssapi/generic/gssapiP_generic.h
src/lib/gssapi/generic/util_validate.c