1
2005-07-28 Jeffrey Altman <jaltman@mit.edu>
3
* threads.c: Stub krb5int_pthread_loaded added for Windows
4
to prevent export errors.
6
2005-05-31 Ken Raeburn <raeburn@mit.edu>
8
* threads.c [HAVE_PRAGMA_WEAK_REF]: Declare
9
pthread_{g,s}etspecific, pthread_key_{create,delete},
10
pthread_{create,join} as weak references.
11
(krb5int_pthread_loaded, loaded_test_aux) [HAVE_PRAGMA_WEAK_REF]:
13
(flag_pthread_loaded, loaded_test_once) [HAVE_PRAGMA_WEAK_REF]:
15
* libkrb5support.exports: Add krb5int_pthread_loaded.
17
2005-03-20 Alexandra Ellwood <lxs@mit.edu>
19
* threads.c (thread_termination): Free array of pointers
20
to thread-specific data (t) on thread termination. Use
21
existing mutex to prevent the deletion of the array from
22
interfering with the global list of thread specific data
23
(used for library termination).
25
2005-02-08 Ken Raeburn <raeburn@mit.edu>
27
* threads.c (k5_key_delete) [pthread case]: Reset flags and
28
destructor function pointer to unset state.
29
(krb5int_thread_support_init, krb5int_thread_support_fini): If
30
SHOW_INITFINI_FUNCS is defined, print some tracing messages.
32
2005-01-17 Jeffrey Altman <jaltman@mit.edu>
34
* threads.c: implement cleanup of static vars on library
37
2004-12-15 Jeffrey Altman <jaltman@mit.edu>
39
* Makefile.in: rename krb5support_32.dll to k5sprt32.dll
41
2004-10-25 Ken Raeburn <raeburn@mit.edu>
43
* libkrb5support.exports: Export krb5int_fac, _lock_fac,
46
2004-08-08 Ken Raeburn <raeburn@mit.edu>
48
* threads.c (GET_NO_PTHREAD_TSD) [!HAVE_PRAGMA_WEAK_REF]: Macro
49
result type should be pointer to tsd_block.
51
2004-07-31 Ken Raeburn <raeburn@mit.edu>
53
* threads.c (krb5int_thread_support_init): Do finish
54
initialization after key creation in POSIX case.
56
2004-07-23 Ken Raeburn <raeburn@mit.edu>
58
* fake-addrinfo.c (krb5int_fac): Initialize the mutex.
59
(krb5int_init_fac, krb5int_fini_fac): New functions; finish
60
initializing or destroy the mutex.
61
(krb5int_lock_fac, krb5int_unlock_fac): New functions; lock the
62
mutex after calling krb5int_call_thread_support_init, or unlock
64
* threads.c (krb5int_call_thread_support_init): New function.
65
(krb5int_init_fac, krb5int_fini_fac): Declare.
66
(krb5int_thread_support_init, krb5int_thread_support_fini): Call
69
2004-07-19 Ken Raeburn <raeburn@mit.edu>
71
* fake-addrinfo.c: New file.
72
* Makefile.in (STLIBOBJS, LIBOBJS, SRCS): Add it.
74
2004-07-06 Ken Raeburn <raeburn@mit.edu>
76
* threads.c (struct tsd_block) [_WIN32]: Define.
77
(k5_setspecific) [_WIN32]: Don't fill in a 'next' field. Fix
78
variable reference for TSD key.
80
2004-06-24 Ken Raeburn <raeburn@mit.edu>
82
* threads.c: Reorganize code: One definition of each function,
83
with per-platform conditional tests inside, instead of
84
per-platform definitions for each function. Combine common
85
aspects of each function across platforms.
87
2004-06-21 Ken Raeburn <raeburn@mit.edu>
89
* threads.c (key_lock): Change to a k5_mutex_t.
90
(k5_key_register): Use k5_ lock routines.
91
(pthread_getspecific, pthread_setspecific, pthread_key_create,
92
pthread_key_delete) [HAVE_PRAGMA_WEAK_REF]: Declare weak.
93
(tsd_if_single) [HAVE_PRAGMA_WEAK_REF]: New variable.
94
(krb5int_thread_support_init): Do pthread key creation only if
95
pthread code is loaded.
96
(krb5int_thread_support_fini): Do pthread key deletion only if
97
pthread code is loaded.
98
(k5_key_register, k5_getspecific, k5_setspecific): Use
99
tsd_if_single when pthread code is not loaded.
101
2004-06-17 Ken Raeburn <raeburn@mit.edu>
103
* Makefile.in (BUILDTOP, LIBNAME, XTRA, OBJFILE): Define for
106
($(BUILDTOP)/include/krb5/autoconf.h): Disable rule on Windows.
108
* threads.c (tls_idx, key_lock, destructors, destructors_set): New
109
variables for Windows.
110
(krb5int_thread_support_init, krb5int_thread_support_fini,
111
k5_key_register, k5_getspecific, k5_setspecific, k5_key_delete,
112
krb5int_thread_detach_hook): New functions for Windows. Some are
115
2004-06-14 Ken Raeburn <raeburn@mit.edu>
117
* libkrb5support.exports: Drop krb5int_foreach_localaddr.
119
2004-06-04 Ken Raeburn <raeburn@mit.edu>
121
* Makefile.in (LIBBASE): Renamed from LIB.
123
2004-05-05 Ken Raeburn <raeburn@mit.edu>
125
* threads.c (krb5int_thread_support_fini) [!ENABLE_THREADS]:
126
Provide a dummy function for now.
128
* foreachaddr.c: Deleted. Code moved to lib/krb5/os/localaddr.c.
129
* fake-addrinfo.c: Deleted.
130
* Makefile.in (SRCS, STLIBOBJS): Updated.
132
2004-05-04 Ken Raeburn <raeburn@mit.edu>
135
* Makefile.in: New file.
136
* threads.c: New file. Thread-specific data support.
137
* fake-addrinfo.c: New file. Placeholder.
138
* foreachaddr.c: New file, based on include/foreachaddr.c.
139
* libkrb5support.exports: New file.
141
* threads.c (k5_key_register, destructors, k5_setspecific)
142
[!ENABLE_THREADS]: Update to fit declarations.
144
* Makefile.in (SHLIB_EXPLIBS): Include $(LIBS).
145
(SHLIB_RDIRS): Use $(KRB5_LIBDIR), for lack of anything better.