1 1998-03-17 00:06 Ulrich Drepper <drepper@cygnus.com>
3 * manager.c: Fix last patch which caused core dumps.
5 * pthread.c: Correctly handle missing SIGRTMIN.
7 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9 * libpthread.map: Add __libc_internal_tsd_get and
10 __libc_internal_tsd_set. Add missing cancelable functions. Export
11 libc internal versions of the cancelable functions.
13 1998-03-13 16:51 Ulrich Drepper <drepper@cygnus.com>
15 * weaks.c: Define pthread_attr_init as GLIBC_2.0 and GLIBC_2.1.
17 1998-03-13 00:46 Ulrich Drepper <drepper@cygnus.com>
19 * attr.c: Implement pthread_attr_[gs]etguardsize,
20 pthread_attr_[gs]setstackaddr, pthread_attr_[gs]etstacksize.
21 Change pthread_attr_init to have two interfaces.
22 * internals.h (struct _pthread_descr_struct): Add new fields for
24 * libpthread.map: Add names in GLIBC_2.1 section.
25 * manager.c (pthread_handle_create): Implement guardsize and
27 (pthread_free): Likewise.
28 * pthread.c (pthread_create): Add new interface for changed
30 * sysdeps/pthread/pthread.h: Add prototypes for new functions.
31 * sysdeps/unix/sysv/linux/bits/local_lim.h: Add definition of
34 1998-03-11 00:42 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
36 * manager.c: Enable resetting of the thread scheduling policy
37 to SCHED_OTHER when the parent thread has a different one.
39 1998-02-01 13:51 Ulrich Drepper <drepper@cygnus.com>
41 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
42 _POSIX_ASYNCHRONOUS_IO.
44 * sysdeps/pthread/pthread.h: Define bits for Unix98 variants of
46 * mutex.c: Implement new mutex types.
48 * internals.h: Include <signal.h>.
50 * libpthread.map: Add __erno_location and __h_errno_location.
52 * errno.c: Return pointer to variable actually in use. This might
53 not be the one in the thread structure.
54 * internals.h (struct _pthread_descr_struct): Add new fields p_errnop
56 * manager.c (__pthread_manager): Set p_errnop and p_h_errnop member
57 of manager thread structure.
58 (pthread_handle_create): Set p_errnop and p_h_errnop members for new
60 * pthread.c: Adapt initializer for thread structures.
61 (__pthread_initial_thread): Set p_errnop and p_h_errnop member.
62 (__pthread_reset_main_thread): Reset p_errnop and p_h_errnop of
63 current thread to global variables.
65 1998-01-31 17:27 Ulrich Drepper <drepper@cygnus.com>
68 * Makefile (libpthread-routines): Add rwlock.
69 * sysdeps/pthread/pthread.h: Define data structures and declare
71 * libpthread.map: Add new functions.
73 1997-12-18 13:50 Philip Blundell <pb@nexus.co.uk>
75 * sysdeps/arm/pt-machine.h: New file; add ARM support.
76 * sysdeps/arm/Implies: likewise.
77 * README: Document it.
79 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
81 * signals.c: Remove unneeded initializer for sigwaited, saving a
84 1997-04-11 01:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
86 * semaphore.c (sem_init): Set sem_spinlock only if available.
88 1997-12-04 01:48 Ulrich Drepper <drepper@cygnus.com>
90 * mutex.c: Implement PTHREAD_MUTEX_CHECKERROR.
91 * sysdeps/pthread/pthread.h: Define PTHREAD_MUTEX_CHECKERROR.
93 * Makefile: Update from LinuxThreads 0.7.
94 * internals.h. Likewise.
95 * manager.c: Likewise.
97 * pthread.c: Likewise.
98 * signals.c: Likewise.
99 * specific.c: Likewise.
100 * Examples/ex3.c: Likewise.
102 1997-11-20 18:13 Ulrich Drepper <drepper@cygnus.com>
104 * pthread.c (__pthread_reset_main_thread): Close pipe only if still
107 1997-10-29 05:38 Ulrich Drepper <drepper@cygnus.com>
109 * wrapsyscall.c: Add socket functions which are also cancelation
112 1997-10-19 21:40 Wolfram Gloger <wg@wolfram.dent.med.uni-muenchen.de>
114 * specific.c (__libc_internal_tsd_set, __libc_internal_tsd_get):
115 New functions for fast thread specific data within libc.
117 * internals.h: Add new array p_libc_specific to struct
118 _pthread_descr_struct.
120 * sysdeps/pthread/bits/libc-lock.h: Declare new functions.
122 1997-10-13 05:39 Ulrich Drepper <drepper@cygnus.com>
124 * semaphore.h: Add __BEGIN_DECLS/__END_DECLS.
125 Reported by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
127 1997-08-29 03:05 Ulrich Drepper <drepper@cygnus.com>
129 * internals.h (struct _pthread_descr_struct): Add definitions for
130 two-level specific key handling.
131 * manager.c (pthread_handle_create): Initialize specific memory array.
132 * specific.c: Implement two-level key handling.
133 * weaks.c: Don't provide dummy key handling.
134 * sysdeps/pthread/bits/libc-lock.h: Typedef __libc_lock_t (no #define).
135 Add definition of __libc_key_t.
136 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define PTHREAD_KEYS_MAX
138 Add definition of _POSIX_THREAD_DESTRUCTOR_ITERATIONS and
139 PTHREAD_DESTRUCTOR_ITERATIONS.
141 * manager.c (pthread_handle_create): Compare mmap result with
144 * ptfork.c: Rename to __pthread_atfork and make old name a weak alias.
145 * sysdeps/pthread/bits/pthread.h: Add prototype for __pthread_atfork.
147 1997-08-22 19:04 Richard Henderson <rth@cygnus.com>
149 sysdeps/sparc -> sysdeps/sparc/sparc32
150 sysdeps/sparc64 -> sysdeps/sparc/sparc64
152 * internals.h: Change definition of THREAD_SELF to be an expression,
153 not a statement that did a return.
154 * sysdeps/alpha/pt-machine.h (THREAD_SELF): Update accordingly.
155 * sysdeps/sparc/sparc32/pt-machine.h (THREAD_SELF, INIT_THREAD_SELF):
156 Follow Solaris and use a "system reserved" register (%g6) to hold
157 the thread descriptor.
158 * sysdeps/sparc/sparc64/pt-machine.h: Likewise.
160 1997-08-03 00:09 Ulrich Drepper <drepper@cygnus.com>
162 * mutex.c: Correct pthread_once. Patch by Xavier Leroy.
163 * sysdeps/pthread/pthread.h: Add prototype for __pthread_once.
164 * sysdeps/pthread/bits/pthread.h: Add macros for __libc_once.
166 * semaphore.c: Include spinlock.h only when needed.
168 * specific.c (__pthread_setsepcific, __pthread_getspecific): Reject
169 keys for entries not in use.
171 * weaks.c: Implement key handling functions for real.
173 1997-06-29 01:04 Richard Henderson <richard@gnu.ai.mit.edu>
175 Initial sparc64-linux support:
176 * linuxthreads/sysdeps/sparc64/Implies: New file.
177 * linuxthreads/sysdeps/sparc64/pt-machine.h: Likewise.
179 1997-06-29 00:48 Ulrich Drepper <drepper@cygnus.com>
181 * semaphore.c: Include spinlock.h at correct place.
184 1997-06-13 10:06 Richard Henderson <rth@tamu.edu>
186 The Great Bit File Move:
187 * sysdeps/alpha/semaphorebits.h: -> .../bits/semaphore.h.
188 * sysdeps/powerpc/semaphorebits.h: Likewise.
189 * sysdeps/pthread/cmpxchg/semaphorebits.h: Likewise.
190 * sysdeps/pthread/no-cmpxchg/semaphorebits.h: Likewise.
191 * sysdeps/pthread/libc-lock.h: -> bits/
192 * sysdeps/pthread/stdio-lock.h: Likewise.
193 * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
194 * sysdeps/unix/sysv/linux/posix_opt.h: Likewise.
195 * semaphore.h: Likewise.
196 * sysdeps/pthread/pthread.h: Likewise.
198 * lockfile.c: <foo.h> -> <bits/foo.h>.
199 * semaphore.h: Likewise.
201 * Makefile: (headers): foo.h -> bits/foo.h.
202 * sysdeps/pthread/Makefile: Likewise.
204 1997-04-11 01:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
206 * semaphore.c (sem_init): Set sem_spinlock only if available.
208 * sysdeps/m68k/pt-machine.h (testandset, __compare_and_swap): Fix
211 1997-04-09 03:00 Ulrich Drepper <drepper@cygnus.com>
213 Update from LinuxThreads 0.6.
215 * attr.c (pthread_attr_getdetachstate): Use __sched_get_priority_max
216 and __sched_get_priority_min instead of names without `__'.
218 * manager.c: Rewrite large parts to implement opaque pthread_t.
220 * cancel.c: Adapt for opaque pthread_t type.
221 * condvar.c: Likewise.
225 * pthread.c: Likewise.
226 * signals.c: Likewise.
227 * specific.c: Likewise.
228 * restart.h: Likewise.
230 * Examples/ex3.c: Likewise.
231 * Examples/ex4.c: Likewise.
232 * sysdeps/pthread/pthread.h: Likewise.
234 * pthread.c: Accumulate time for all threads in thread manager.
236 * semaphore.c: Implement fallback implementation for architectures
237 sometimes missing compare-exchange operations.
239 * cancel.c (pthread_cancel): Validate handle argument.
240 * join.c (pthread_join): Likewise.
241 (pthread_detach): Likewise.
242 * signals.c (pthread_kill): Likewise.
244 * spinlock.h (acquire): Use __sched_yield not sched_yield.
246 * queue.h (enqueue): Enqueue thread according to priority.
248 * internals.c (struct pthread_start_args): New struct for passing
249 args to cloning function.
250 (struct _pthread): Rename to _pthread_descr_struct and adapt for
253 * Examples/Makefile (clean): Pass -f option to rm.
255 * sysdeps/i386/pt-machine.h: Add check for compare-exchange instruction
256 and define TEST_FOR_COMPARE_AND_SWAP.
257 * sysdeps/i386/i486/pt-machine.h: Removed.
259 * sysdeps/unix/sysv/linux/local_lim.h (PTHREAD_THREADS_MAX): Increase
262 1997-04-04 16:38 Ulrich Drepper <drepper@cygnus.com>
264 * restart.h (suspend): Clear p_signal before suspending.
265 (suspend_with_cancellation): Likewise.
266 Patch by Xavier Leroy <Xavier.Leroy@inria.fr>.
268 * weaks.c: Make __pthread_key_create return 1.
269 * sysdeps/pthread/libc-lock.h: Define __libc_key_create,
270 __libc_getspecific, __libc_setspecific, and __libc_key_t.
271 * sysdeps/pthread/stdio-lock.h: Don't care for implementation not
274 1997-03-19 15:13 Miguel de Icaza <miguel@nuclecu.unam.mx>
276 * sysdeps/sparc/pt-machine (RELEASE): Fix.
278 1997-03-01 07:55 Geoff Keating <geoffk@ozemail.com.au>
280 * sysdeps/powerpc/Implies: Added.
281 * sysdeps/powerpc/pt-machine.h: Added.
282 * sysdeps/powerpc/semaphorebits.h: Added.
284 1997-01-22 01:22 Ulrich Drepper <drepper@cygnus.com>
286 * linuxtheads/pthread.c (__pthread_initial_thread): Correct
288 (__pthread_manager_thread): Likewise.
289 Reported by Andreas Jaeger.
291 1997-01-18 22:15 Richard Henderson <rth@tamu.edu>
293 Since sigset_t no longer fits in a register, we can't pass in the
294 thread's initial mask so easily. Take this opportunity to simplify
295 the clone implementation by only accepting a single void* argument.
297 * linuxthreads/manager.c (__pthread_manager): Put thread vitals
298 in the thread struct instead of as arguments through clone.
299 (pthread_start_thread): Look for them there.
300 * linuxthreads/internals.h (struct _pthread): Add p_initial_fn,
301 p_initial_fn_arg, p_initial_mask. Fix __pthread_manager proto.
302 * linuxthreads/pthread.c (pthread_initialize_manager): Revise