From e472b5dd07e78f0180f4fbf5f22fc2fff2ab2548 Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Thu, 4 Sep 2008 18:43:14 +0000 Subject: CCAPI should only use one pthread key Use k5 thread functions. Also add destructors so if we ever have a way to detect application exit that the pthread key is destroyed. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20705 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ccapi/lib/ccapi_ipc.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/ccapi/lib/ccapi_ipc.c') diff --git a/src/ccapi/lib/ccapi_ipc.c b/src/ccapi/lib/ccapi_ipc.c index 4d2e4314d..fe541db4e 100644 --- a/src/ccapi/lib/ccapi_ipc.c +++ b/src/ccapi/lib/ccapi_ipc.c @@ -36,6 +36,13 @@ cc_int32 cci_ipc_thread_init (void) /* ------------------------------------------------------------------------ */ +void cci_ipc_thread_fini (void) +{ + cci_os_ipc_thread_fini (); +} + +/* ------------------------------------------------------------------------ */ + static cc_int32 _cci_ipc_send (enum cci_msg_id_t in_request_name, cc_int32 in_launch_server, cci_identifier_t in_identifier, -- cgit