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