]> sourceware.org Git - glibc.git/blob - linuxthreads/ChangeLog
2f1f4f566ba992cdcb59b4c268d77fb6655236aa
[glibc.git] / linuxthreads / ChangeLog
1 1998-06-25 19:27 Ulrich Drepper <drepper@cygnus.com>
2
3 * attr.c: Finish user stack support. Change locking code to be safe
4 in situations with different priorities.
5 * cancel.c: Likewise.
6 * condvar.c: Likewise.
7 * internals.h: Likewise.
8 * join.c: Likewise.
9 * manager.c: Likewise.
10 * mutex.c: Likewise.
11 * pthread.c: Likewise.
12 * ptlongjmp.c: Likewise.
13 * queue.h: Likewise.
14 * rwlock.c: Likewise.
15 * semaphore.c: Likewise.
16 * semaphore.h: Likewise.
17 * signals.c: Likewise.
18 * spinlock.c: Likewise.
19 * spinlock.h: Likewise.
20 * sysdeps/pthread/pthread.h: Likewise.
21 Patches by Xavier leroy.
22
23 * sysdeps/i386/pt-machine.h: When compiling for i686 don't test for
24 xchgcmp instruction, it is available.
25
26 1998-06-25 Ulrich Drepper <drepper@cygnus.com>
27
28 * sysdeps/pthread/pthread.h: Make [sg]et_stacksize and
29 [sg]et_stackaddr prototypes always available.
30
31 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
32 _POSIX_THREAD_ATTR_STACKSIZE and _POSIX_THREAD_ATTR_STACKADDR.
33
34 1998-06-24 Ulrich Drepper <drepper@cygnus.com>
35
36 * manager.c (pthread_free): Undo patch from 980430.
37 Reported by David Wragg <dpw@doc.ic.ac.uk>.
38
39 1998-06-09 15:07 Ulrich Drepper <drepper@cygnus.com>
40
41 * manager.c: Define __pthread_manager_adjust_prio and use it to
42 increase priority when needed.
43 * internals.h: Add prototype for __pthread_manager_adjust_prio.
44 * mutex.c: Optimize mutexes to wake up only one thread.
45 * pthread.c: Move PID of manager fro global variable in structure
46 element.
47 Patches by Xavier Leroy.
48
49 1998-06-07 13:47 Ulrich Drepper <drepper@cygnus.com>
50
51 * sysdeps/pthread/bits/libc-lock.h: Optimize cleanup handlers a bit.
52
53 1998-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
54
55 * attr.c: Correct typo.
56
57 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
58
59 * manager.c (pthread_free): Unmap guard before the stack.
60 Patch by Matthias Urlichs.
61
62 1998-04-30 Ulrich Drepper <drepper@cygnus.com>
63
64 * manager.c (pthread_free): Detect already free child.
65 Patch by Xavier Leroy, reported by Matthias Urlichs.
66
67 1998-04-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
68
69 * Makefile (linuxthreads-version): Renamed back from
70 libpthread-version.
71
72 1998-04-21 Ulrich Drepper <drepper@cygnus.com>
73
74 * ptlongjmp.c: Add prototypes for __libc_siglongjmp and
75 __libc_longjmp.
76
77 1998-04-20 14:55 Ulrich Drepper <drepper@cygnus.com>
78
79 * Makefile (libpthread-routines): Add ptlongjmp and spinlock.
80 * internals.h: Add definitions for new spinlock implementation.
81 * ptlongjmp.c: New file.
82 * spinlock.c: New file.
83 * spinlock.h (acquire): Don't reschedule using __sched_yield, use
84 new function __pthread_acquire to prevent deadlocks with thread
85 with different priorities.
86 Patches by Xavier Leroy <Xavier.Leroy@inria.fr>.
87
88 1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
89
90 * manager.c (__pthread_manager): Reduce first argument to select
91 to include just the needed file descriptor.
92
93 1998-03-17 00:06 Ulrich Drepper <drepper@cygnus.com>
94
95 * manager.c: Fix last patch which caused core dumps.
96
97 * pthread.c: Correctly handle missing SIGRTMIN.
98
99 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
100
101 * libpthread.map: Add __libc_internal_tsd_get and
102 __libc_internal_tsd_set. Add missing cancelable functions. Export
103 libc internal versions of the cancelable functions.
104
105 1998-03-13 16:51 Ulrich Drepper <drepper@cygnus.com>
106
107 * weaks.c: Define pthread_attr_init as GLIBC_2.0 and GLIBC_2.1.
108
109 1998-03-13 00:46 Ulrich Drepper <drepper@cygnus.com>
110
111 * attr.c: Implement pthread_attr_[gs]etguardsize,
112 pthread_attr_[gs]setstackaddr, pthread_attr_[gs]etstacksize.
113 Change pthread_attr_init to have two interfaces.
114 * internals.h (struct _pthread_descr_struct): Add new fields for
115 above functions.
116 * libpthread.map: Add names in GLIBC_2.1 section.
117 * manager.c (pthread_handle_create): Implement guardsize and
118 user stack.
119 (pthread_free): Likewise.
120 * pthread.c (pthread_create): Add new interface for changed
121 pthread_attr_t.
122 * sysdeps/pthread/pthread.h: Add prototypes for new functions.
123 * sysdeps/unix/sysv/linux/bits/local_lim.h: Add definition of
124 PTHREAD_STACK_MIN.
125
126 1998-03-11 00:42 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
127
128 * manager.c: Enable resetting of the thread scheduling policy
129 to SCHED_OTHER when the parent thread has a different one.
130
131 1998-02-01 13:51 Ulrich Drepper <drepper@cygnus.com>
132
133 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
134 _POSIX_ASYNCHRONOUS_IO.
135
136 * sysdeps/pthread/pthread.h: Define bits for Unix98 variants of
137 mutexes.
138 * mutex.c: Implement new mutex types.
139
140 * internals.h: Include <signal.h>.
141
142 * libpthread.map: Add __erno_location and __h_errno_location.
143
144 * errno.c: Return pointer to variable actually in use. This might
145 not be the one in the thread structure.
146 * internals.h (struct _pthread_descr_struct): Add new fields p_errnop
147 and p_h_errnop.
148 * manager.c (__pthread_manager): Set p_errnop and p_h_errnop member
149 of manager thread structure.
150 (pthread_handle_create): Set p_errnop and p_h_errnop members for new
151 thread.
152 * pthread.c: Adapt initializer for thread structures.
153 (__pthread_initial_thread): Set p_errnop and p_h_errnop member.
154 (__pthread_reset_main_thread): Reset p_errnop and p_h_errnop of
155 current thread to global variables.
156
157 1998-01-31 17:27 Ulrich Drepper <drepper@cygnus.com>
158
159 * rwlock.c: New file.
160 * Makefile (libpthread-routines): Add rwlock.
161 * sysdeps/pthread/pthread.h: Define data structures and declare
162 functions.
163 * libpthread.map: Add new functions.
164
165 1997-12-18 13:50 Philip Blundell <pb@nexus.co.uk>
166
167 * sysdeps/arm/pt-machine.h: New file; add ARM support.
168 * sysdeps/arm/Implies: likewise.
169 * README: Document it.
170
171 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
172
173 * signals.c: Remove unneeded initializer for sigwaited, saving a
174 warning.
175
176 1997-04-11 01:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
177
178 * semaphore.c (sem_init): Set sem_spinlock only if available.
179
180 1997-12-04 01:48 Ulrich Drepper <drepper@cygnus.com>
181
182 * mutex.c: Implement PTHREAD_MUTEX_CHECKERROR.
183 * sysdeps/pthread/pthread.h: Define PTHREAD_MUTEX_CHECKERROR.
184
185 * Makefile: Update from LinuxThreads 0.7.
186 * internals.h. Likewise.
187 * manager.c: Likewise.
188 * mutex.c: Likewise.
189 * pthread.c: Likewise.
190 * signals.c: Likewise.
191 * specific.c: Likewise.
192 * Examples/ex3.c: Likewise.
193
194 1997-11-20 18:13 Ulrich Drepper <drepper@cygnus.com>
195
196 * pthread.c (__pthread_reset_main_thread): Close pipe only if still
197 open.
198
199 1997-10-29 05:38 Ulrich Drepper <drepper@cygnus.com>
200
201 * wrapsyscall.c: Add socket functions which are also cancelation
202 points.
203
204 1997-10-19 21:40 Wolfram Gloger <wg@wolfram.dent.med.uni-muenchen.de>
205
206 * specific.c (__libc_internal_tsd_set, __libc_internal_tsd_get):
207 New functions for fast thread specific data within libc.
208
209 * internals.h: Add new array p_libc_specific to struct
210 _pthread_descr_struct.
211
212 * sysdeps/pthread/bits/libc-lock.h: Declare new functions.
213
214 1997-10-13 05:39 Ulrich Drepper <drepper@cygnus.com>
215
216 * semaphore.h: Add __BEGIN_DECLS/__END_DECLS.
217 Reported by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
218
219 1997-08-29 03:05 Ulrich Drepper <drepper@cygnus.com>
220
221 * internals.h (struct _pthread_descr_struct): Add definitions for
222 two-level specific key handling.
223 * manager.c (pthread_handle_create): Initialize specific memory array.
224 * specific.c: Implement two-level key handling.
225 * weaks.c: Don't provide dummy key handling.
226 * sysdeps/pthread/bits/libc-lock.h: Typedef __libc_lock_t (no #define).
227 Add definition of __libc_key_t.
228 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define PTHREAD_KEYS_MAX
229 as 1024.
230 Add definition of _POSIX_THREAD_DESTRUCTOR_ITERATIONS and
231 PTHREAD_DESTRUCTOR_ITERATIONS.
232
233 * manager.c (pthread_handle_create): Compare mmap result with
234 MAP_FAILED.
235
236 * ptfork.c: Rename to __pthread_atfork and make old name a weak alias.
237 * sysdeps/pthread/bits/pthread.h: Add prototype for __pthread_atfork.
238
239 1997-08-22 19:04 Richard Henderson <rth@cygnus.com>
240
241 sysdeps/sparc -> sysdeps/sparc/sparc32
242 sysdeps/sparc64 -> sysdeps/sparc/sparc64
243
244 * internals.h: Change definition of THREAD_SELF to be an expression,
245 not a statement that did a return.
246 * sysdeps/alpha/pt-machine.h (THREAD_SELF): Update accordingly.
247 * sysdeps/sparc/sparc32/pt-machine.h (THREAD_SELF, INIT_THREAD_SELF):
248 Follow Solaris and use a "system reserved" register (%g6) to hold
249 the thread descriptor.
250 * sysdeps/sparc/sparc64/pt-machine.h: Likewise.
251
252 1997-08-03 00:09 Ulrich Drepper <drepper@cygnus.com>
253
254 * mutex.c: Correct pthread_once. Patch by Xavier Leroy.
255 * sysdeps/pthread/pthread.h: Add prototype for __pthread_once.
256 * sysdeps/pthread/bits/pthread.h: Add macros for __libc_once.
257
258 * semaphore.c: Include spinlock.h only when needed.
259
260 * specific.c (__pthread_setsepcific, __pthread_getspecific): Reject
261 keys for entries not in use.
262
263 * weaks.c: Implement key handling functions for real.
264
265 1997-06-29 01:04 Richard Henderson <richard@gnu.ai.mit.edu>
266
267 Initial sparc64-linux support:
268 * linuxthreads/sysdeps/sparc64/Implies: New file.
269 * linuxthreads/sysdeps/sparc64/pt-machine.h: Likewise.
270
271 1997-06-29 00:48 Ulrich Drepper <drepper@cygnus.com>
272
273 * semaphore.c: Include spinlock.h at correct place.
274 Patch by HJ Lu.
275
276 1997-06-13 10:06 Richard Henderson <rth@tamu.edu>
277
278 The Great Bit File Move:
279 * sysdeps/alpha/semaphorebits.h: -> .../bits/semaphore.h.
280 * sysdeps/powerpc/semaphorebits.h: Likewise.
281 * sysdeps/pthread/cmpxchg/semaphorebits.h: Likewise.
282 * sysdeps/pthread/no-cmpxchg/semaphorebits.h: Likewise.
283 * sysdeps/pthread/libc-lock.h: -> bits/
284 * sysdeps/pthread/stdio-lock.h: Likewise.
285 * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
286 * sysdeps/unix/sysv/linux/posix_opt.h: Likewise.
287 * semaphore.h: Likewise.
288 * sysdeps/pthread/pthread.h: Likewise.
289
290 * lockfile.c: <foo.h> -> <bits/foo.h>.
291 * semaphore.h: Likewise.
292
293 * Makefile: (headers): foo.h -> bits/foo.h.
294 * sysdeps/pthread/Makefile: Likewise.
295
296 1997-04-11 01:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
297
298 * semaphore.c (sem_init): Set sem_spinlock only if available.
299
300 * sysdeps/m68k/pt-machine.h (testandset, __compare_and_swap): Fix
301 asm constraints.
302
303 1997-04-09 03:00 Ulrich Drepper <drepper@cygnus.com>
304
305 Update from LinuxThreads 0.6.
306
307 * attr.c (pthread_attr_getdetachstate): Use __sched_get_priority_max
308 and __sched_get_priority_min instead of names without `__'.
309
310 * manager.c: Rewrite large parts to implement opaque pthread_t.
311
312 * cancel.c: Adapt for opaque pthread_t type.
313 * condvar.c: Likewise.
314 * errno.c: Likewise.
315 * join.c: Likewise.
316 * mutex.c: Likewise.
317 * pthread.c: Likewise.
318 * signals.c: Likewise.
319 * specific.c: Likewise.
320 * restart.h: Likewise.
321 * queue.h: Likewise.
322 * Examples/ex3.c: Likewise.
323 * Examples/ex4.c: Likewise.
324 * sysdeps/pthread/pthread.h: Likewise.
325
326 * pthread.c: Accumulate time for all threads in thread manager.
327
328 * semaphore.c: Implement fallback implementation for architectures
329 sometimes missing compare-exchange operations.
330
331 * cancel.c (pthread_cancel): Validate handle argument.
332 * join.c (pthread_join): Likewise.
333 (pthread_detach): Likewise.
334 * signals.c (pthread_kill): Likewise.
335
336 * spinlock.h (acquire): Use __sched_yield not sched_yield.
337
338 * queue.h (enqueue): Enqueue thread according to priority.
339
340 * internals.c (struct pthread_start_args): New struct for passing
341 args to cloning function.
342 (struct _pthread): Rename to _pthread_descr_struct and adapt for
343 opaque pthread_t.
344
345 * Examples/Makefile (clean): Pass -f option to rm.
346
347 * sysdeps/i386/pt-machine.h: Add check for compare-exchange instruction
348 and define TEST_FOR_COMPARE_AND_SWAP.
349 * sysdeps/i386/i486/pt-machine.h: Removed.
350
351 * sysdeps/unix/sysv/linux/local_lim.h (PTHREAD_THREADS_MAX): Increase
352 to 1024.
353
354 1997-04-04 16:38 Ulrich Drepper <drepper@cygnus.com>
355
356 * restart.h (suspend): Clear p_signal before suspending.
357 (suspend_with_cancellation): Likewise.
358 Patch by Xavier Leroy <Xavier.Leroy@inria.fr>.
359
360 * weaks.c: Make __pthread_key_create return 1.
361 * sysdeps/pthread/libc-lock.h: Define __libc_key_create,
362 __libc_getspecific, __libc_setspecific, and __libc_key_t.
363 * sysdeps/pthread/stdio-lock.h: Don't care for implementation not
364 using libio.
365
366 1997-03-19 15:13 Miguel de Icaza <miguel@nuclecu.unam.mx>
367
368 * sysdeps/sparc/pt-machine (RELEASE): Fix.
369
370 1997-03-01 07:55 Geoff Keating <geoffk@ozemail.com.au>
371
372 * sysdeps/powerpc/Implies: Added.
373 * sysdeps/powerpc/pt-machine.h: Added.
374 * sysdeps/powerpc/semaphorebits.h: Added.
375
376 1997-01-22 01:22 Ulrich Drepper <drepper@cygnus.com>
377
378 * linuxtheads/pthread.c (__pthread_initial_thread): Correct
379 initializer.
380 (__pthread_manager_thread): Likewise.
381 Reported by Andreas Jaeger.
382
383 1997-01-18 22:15 Richard Henderson <rth@tamu.edu>
384
385 Since sigset_t no longer fits in a register, we can't pass in the
386 thread's initial mask so easily. Take this opportunity to simplify
387 the clone implementation by only accepting a single void* argument.
388
389 * linuxthreads/manager.c (__pthread_manager): Put thread vitals
390 in the thread struct instead of as arguments through clone.
391 (pthread_start_thread): Look for them there.
392 * linuxthreads/internals.h (struct _pthread): Add p_initial_fn,
393 p_initial_fn_arg, p_initial_mask. Fix __pthread_manager proto.
394 * linuxthreads/pthread.c (pthread_initialize_manager): Revise
395 clone invocation.
This page took 0.05617 seconds and 4 git commands to generate.