diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2004-06-03 00:30:02 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2004-06-03 00:30:02 +0000 |
| commit | 2e74ca109da51b550958ccf1809f15eadd6ded93 (patch) | |
| tree | d2d7a7ff114ca9fc3d310a7d56b501a3d338ae04 /src/include | |
| parent | 4a7895d8c1f8b08ebd0e3bcfd975783fcc8bd057 (diff) | |
The com_err library is now probably as thread-safe as it's going to get, on
UNIX; Windows still needs work....
* com_err.c: Include stdlib.h.
(com_err_hook_lock): New mutex.
(com_err_lock_hook_handle): New function.
(com_err_va, set_com_err_hook, reset_com_err_hook): Call com_err_finish_init,
and grab the lock.
* error_message.c: Don't include k5-thread.h.
(com_err_finish_init): New function.
(com_err_initialize): Initialize the new mutex.
* error_table.h: Include k5-thread.h.
(com_err_hook_lock, com_err_finish_init): Declare.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16394 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions
