Thread-safe manipulation of registered error-table list
authorKen Raeburn <raeburn@mit.edu>
Thu, 18 Mar 2004 03:07:22 +0000 (03:07 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 18 Mar 2004 03:07:22 +0000 (03:07 +0000)
commitf3d9bfd099e1a1a2a6fb324ae9c2bbd5617179d9
tree88e3797bb65e2c7194da9885f519545bd9170cc9
parente805b6cdbdfeda56e4a44f21ba0f15b68f8f88f6
Thread-safe manipulation of registered error-table list

* error_message.c: Include k5-thread.h.
(_et_list): Now always static.
(et_list_lock): New mutex.
(error_message): Lock it while manipulating the table lists.
(add_error_table, remove_error_table): Likewise.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16183 dc483132-0cff-0310-8789-dd5450dbe970
src/util/et/ChangeLog
src/util/et/Makefile.in
src/util/et/error_message.c